Interface IContentTypeController
Interface of ContentTypeController.
Namespace: DotNetNuke.Entities.Content
Assembly: DotNetNuke.dll
Syntax
public interface IContentTypeController
Methods
| Improve this Doc View SourceAddContentType(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
| Improve this Doc View SourceClearContentTypeCache()
Interface of ContentTypeController.
Declaration
void ClearContentTypeCache()
See Also
| Improve this Doc View SourceDeleteContentType(ContentType)
Deletes the type of the content.
Declaration
void DeleteContentType(ContentType contentType)
Parameters
Type | Name | Description |
---|---|---|
ContentType | contentType | Type of the content. |
See Also
| Improve this Doc View SourceGetContentTypes()
Gets the content types.
Declaration
IQueryable<ContentType> GetContentTypes()
Returns
Type | Description |
---|---|
IQueryable<ContentType> | content type collection. |
See Also
| Improve this Doc View SourceUpdateContentType(ContentType)
Updates the type of the content.
Declaration
void UpdateContentType(ContentType contentType)
Parameters
Type | Name | Description |
---|---|---|
ContentType | contentType | Type of the content. |