Deletes the meta data.

Namespace: DotNetNuke.Entities.Content
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
void DeleteMetaData(
	ContentItem contentItem,
	string name,
	string value
)
Visual Basic
Sub DeleteMetaData ( 
	contentItem As ContentItem,
	name As String,
	value As String
)

Parameters

contentItem
Type: DotNetNuke.Entities.Content..::..ContentItem
The content item.
name
Type: System..::..String
The name.
value
Type: System..::..String
The value.

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptioncontent item is null.
System..::..ArgumentOutOfRangeExceptioncontent item's id less than 0.
System..::..ArgumentExceptionMeta name is empty.

See Also