Class ContentItemMetadata
- Namespace
- CMS.ContentEngine
- Assembly
- CMS.ContentEngine.dll
Content item metadata.
public sealed class ContentItemMetadata
- Inheritance
-
objectContentItemMetadata
- Extension Methods
Constructors
ContentItemMetadata(int, Guid, string, int)
Initializes a new instance of ContentItemMetadata.
public ContentItemMetadata(int contentItemId, Guid contentItemGuid, string name, int contentTypeId)
Parameters
contentItemId
intContent item ID.
contentItemGuid
GuidContent item GUID.
name
stringCode name of the content item.
contentTypeId
intContent item type ID.
Exceptions
- ArgumentException
Thrown when
name
is null, empty or is not a valid code name.
Properties
ContentItemGUID
Content item GUID.
public Guid ContentItemGUID { get; }
Property Value
- Guid
ContentItemID
Content item identifier.
public int ContentItemID { get; }
Property Value
- int
ContentTypeID
Content type ID.
public int ContentTypeID { get; }
Property Value
- int
IsSecured
Indicates if content item is secured.
public bool IsSecured { get; set; }
Property Value
- bool
Name
Code name of the content item.
public string Name { get; set; }
Property Value
- string
WorkspaceId
Content item workspace ID.
public int WorkspaceId { get; }
Property Value
- int