Adds the type of the content.
Namespace: DotNetNuke.Entities.Content.DataAssembly: 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.