Deletes the meta data.
Namespace: DotNetNuke.Entities.ContentAssembly: 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
Exception | Condition |
---|---|
System..::..ArgumentNullException | content item is null. |
System..::..ArgumentOutOfRangeException | content item's id less than 0. |
System..::..ArgumentException | Meta name is empty. |