Table of Contents

Class CreateContentItemEventData

Namespace
CMS.ContentEngine
Assembly
CMS.ContentEngine.dll

Contains the business data for content item creation events.

public sealed class CreateContentItemEventData
Inheritance
object
CreateContentItemEventData
Extension Methods

Constructors

CreateContentItemEventData()

Initializes a new instance of the CreateContentItemEventData class.

public CreateContentItemEventData()

Properties

AccessSettings

Access control settings for the content item.

public ContentAccessSettings AccessSettings { get; set; }

Property Value

ContentAccessSettings

ContentItemData

Content item data.

public ContentItemData ContentItemData { get; init; }

Property Value

ContentItemData

ContentLanguageID

Content language identifier.

public int ContentLanguageID { get; init; }

Property Value

int

ContentLanguageName

Content language name.

public string ContentLanguageName { get; init; }

Property Value

string

ContentTypeID

Content item type identifier.

public int ContentTypeID { get; init; }

Property Value

int

ContentTypeName

Content item type name.

public string ContentTypeName { get; init; }

Property Value

string

DisplayName

Content item display name, used to identify the item in user interface.

public string DisplayName { get; set; }

Property Value

string

Guid

Content item unique identifier.

public Guid? Guid { get; init; }

Property Value

Guid?

Remarks

The value is available only in After event.

ID

Content item identifier.

public int? ID { get; init; }

Property Value

int?

Remarks

The value is available only in After event.

Name

Code name of the content item.

public string Name { get; set; }

Property Value

string

ScheduledPublishWhen

Date and time when the content item should be published.

public DateTime? ScheduledPublishWhen { get; init; }

Property Value

DateTime?

ScheduledUnpublishWhen

Date and time when the content item should be unpublished.

public DateTime? ScheduledUnpublishWhen { get; init; }

Property Value

DateTime?

VersionStatus

Version status in which the content item was created.

public VersionStatus VersionStatus { get; init; }

Property Value

VersionStatus