Deletes the type of the content.
Namespace: DotNetNuke.Entities.ContentAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
void DeleteContentType( ContentType contentType ) |
Visual Basic |
---|
Sub DeleteContentType ( contentType As ContentType ) |
Parameters
- contentType
- Type: DotNetNuke.Entities.Content..::..ContentType
Type of the content.
Exceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | content type is null. |
System..::..ArgumentOutOfRangeException | content type id is less than 0. |