Adds the type of the content.

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

Syntax

C#
public int AddContentType(
	ContentType contentType
)
Visual Basic
Public Function AddContentType ( 
	contentType As ContentType
) As Integer

Parameters

contentType
Type: DotNetNuke.Entities.Content..::..ContentType
Type of the content.

Return Value

content type id.

Implements

IDataService..::..AddContentType(ContentType)

See Also