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