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

Interface IContentTypeController

Interface of ContentTypeController.

Namespace: DotNetNuke.Entities.Content
Assembly: DotNetNuke.dll
Syntax
public interface IContentTypeController

Methods

| Improve this Doc View Source

AddContentType(ContentType)

Adds the type of the content.

Declaration
int AddContentType(ContentType contentType)
Parameters
Type Name Description
ContentType contentType

Type of the content.

Returns
Type Description
System.Int32

content type id.

See Also
ContentTypeController
| Improve this Doc View Source

ClearContentTypeCache()

Interface of ContentTypeController.

Declaration
void ClearContentTypeCache()
See Also
ContentTypeController
| Improve this Doc View Source

DeleteContentType(ContentType)

Deletes the type of the content.

Declaration
void DeleteContentType(ContentType contentType)
Parameters
Type Name Description
ContentType contentType

Type of the content.

See Also
ContentTypeController
| Improve this Doc View Source

GetContentTypes()

Gets the content types.

Declaration
IQueryable<ContentType> GetContentTypes()
Returns
Type Description
IQueryable<ContentType>

content type collection.

See Also
ContentTypeController
| Improve this Doc View Source

UpdateContentType(ContentType)

Updates the type of the content.

Declaration
void UpdateContentType(ContentType contentType)
Parameters
Type Name Description
ContentType contentType

Type of the content.

See Also
ContentTypeController

Extension Methods

JsonExtensionsWeb.ToJson(Object)

See Also

ContentTypeController
  • View Source
Back to top by the community, for the community... #DNNCMS