• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Class ContentType

Content type of a content item.

Inheritance
System.Object
ContentTypeMemberNameFixer
ContentType
Implements
IHydratable
Inherited Members
ContentTypeMemberNameFixer.ContentType
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 Source

ContentType()

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.

| Improve this Doc View Source

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 Source

ContentTypeId

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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 Source

Fill(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
Fill(IDataReader)
| Improve this Doc View Source

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.

Implements

IHydratable

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS