Table of Contents

Class ContentItemMetadata

Namespace
CMS.ContentEngine
Assembly
CMS.ContentEngine.dll

Content item metadata.

public sealed class ContentItemMetadata
Inheritance
object
ContentItemMetadata
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 int

Content item ID.

contentItemGuid Guid

Content item GUID.

name string

Code name of the content item.

contentTypeId int

Content 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