Deletes the type of the content.

Namespace: DotNetNuke.Entities.Content
Assembly: 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

ExceptionCondition
System..::..ArgumentNullExceptioncontent type is null.
System..::..ArgumentOutOfRangeExceptioncontent type id is less than 0.

See Also