Class DeleteContentItemEventArgs
- Namespace
- CMS.ContentEngine
- Assembly
- CMS.ContentEngine.dll
Event arguments for Delete event.
public sealed class DeleteContentItemEventArgs : ContentItemEventArgsBase
- Inheritance
-
objectEventArgsDeleteContentItemEventArgs
- Inherited Members
- Extension Methods
Constructors
DeleteContentItemEventArgs()
Initializes a new instance of DeleteContentItemEventArgs.
public DeleteContentItemEventArgs()
Properties
ContentItemData
Content item data.
public override ContentItemDataEventContainer ContentItemData { get; init; }
Property Value
ContentLanguageID
Content language identifier.
public override int ContentLanguageID { get; init; }
Property Value
- int
ContentLanguageName
Content language name.
public override string ContentLanguageName { get; init; }
Property Value
- string
ContentTypeID
Content type identifier.
public override int ContentTypeID { get; init; }
Property Value
- int
ContentTypeName
Content item type name.
public override string ContentTypeName { get; init; }
Property Value
- string
DisplayName
Content item display name.
public override string DisplayName { get; init; }
Property Value
- string
Guid
Content item unique identifier.
public override Guid Guid { get; init; }
Property Value
- Guid
ID
Content item identifier.
public override int ID { get; init; }
Property Value
- int
IsCompletelyRemoved
Indicates if all content item data are completely removed.
public bool IsCompletelyRemoved { get; init; }
Property Value
- bool
Remarks
A content item is considered completely removed when:
- All system data associated with the content item is deleted.
- All language variants are removed.
- All language metadata is deleted.
- All references to other content item are deleted.
IsSecured
Indicates whether the content item is secured.
public override bool IsSecured { get; init; }
Property Value
- bool
Name
Code name of the content item.
public override string Name { get; init; }
Property Value
- string
Permanently
Indicates whether the content item should be deleted permanently.
public bool Permanently { get; init; }
Property Value
- bool