Class ContentType
Content type of a content item.
Implements
Inherited Members
Namespace: DotNetNuke.Entities.Content
Assembly: DotNetNuke.dll
Syntax
public class ContentType : ContentTypeMemberNameFixer, IHydratable
Remarks
Content Types, simply put, are a way of telling the framework what module/functionality is associated with a Content Item. Each product (ie. module) that wishes to allow categorization of data (via Taxonomy or Folksonomy) for it's content items will likely need to create its own content type.
Constructors
| Improve this Doc View SourceContentType()
Initializes a new instance of the ContentType class.
Declaration
public ContentType()
Remarks
Content Types, simply put, are a way of telling the framework what module/functionality is associated with a Content Item. Each product (ie. module) that wishes to allow categorization of data (via Taxonomy or Folksonomy) for it's content items will likely need to create its own content type.
ContentType(String)
Initializes a new instance of the ContentType class.
Declaration
public ContentType(string contentType)
Parameters
Type | Name | Description |
---|---|---|
System.String | contentType |
Remarks
Content Types, simply put, are a way of telling the framework what module/functionality is associated with a Content Item. Each product (ie. module) that wishes to allow categorization of data (via Taxonomy or Folksonomy) for it's content items will likely need to create its own content type.
Properties
| Improve this Doc View SourceContentTypeId
Gets or sets the content type id.
Declaration
public int ContentTypeId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The content type id. |
Remarks
Content Types, simply put, are a way of telling the framework what module/functionality is associated with a Content Item. Each product (ie. module) that wishes to allow categorization of data (via Taxonomy or Folksonomy) for it's content items will likely need to create its own content type.
DesktopModule
Content type of a content item.
Declaration
public static ContentType DesktopModule { get; }
Property Value
Type | Description |
---|---|
ContentType |
Remarks
Content Types, simply put, are a way of telling the framework what module/functionality is associated with a Content Item. Each product (ie. module) that wishes to allow categorization of data (via Taxonomy or Folksonomy) for it's content items will likely need to create its own content type.
KeyID
Gets or sets the key ID.
Declaration
public int KeyID { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | ContentTypeID. |
Remarks
Content Types, simply put, are a way of telling the framework what module/functionality is associated with a Content Item. Each product (ie. module) that wishes to allow categorization of data (via Taxonomy or Folksonomy) for it's content items will likely need to create its own content type.
Module
Content type of a content item.
Declaration
public static ContentType Module { get; }
Property Value
Type | Description |
---|---|
ContentType |
Remarks
Content Types, simply put, are a way of telling the framework what module/functionality is associated with a Content Item. Each product (ie. module) that wishes to allow categorization of data (via Taxonomy or Folksonomy) for it's content items will likely need to create its own content type.
Tab
Content type of a content item.
Declaration
public static ContentType Tab { get; }
Property Value
Type | Description |
---|---|
ContentType |
Remarks
Content Types, simply put, are a way of telling the framework what module/functionality is associated with a Content Item. Each product (ie. module) that wishes to allow categorization of data (via Taxonomy or Folksonomy) for it's content items will likely need to create its own content type.
Methods
| Improve this Doc View SourceFill(IDataReader)
Fill this content object will the information from data reader.
Declaration
public void Fill(IDataReader dr)
Parameters
Type | Name | Description |
---|---|---|
IDataReader | dr | The data reader. |
Remarks
Content Types, simply put, are a way of telling the framework what module/functionality is associated with a Content Item. Each product (ie. module) that wishes to allow categorization of data (via Taxonomy or Folksonomy) for it's content items will likely need to create its own content type.
See Also
ToString()
override ToString to return content type.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | property ContentType's value. |
Remarks
Content Types, simply put, are a way of telling the framework what module/functionality is associated with a Content Item. Each product (ie. module) that wishes to allow categorization of data (via Taxonomy or Folksonomy) for it's content items will likely need to create its own content type.