Class DeleteContentEventArgs
Event arguments used when content is deleted.
Inherited Members
System.EventArgs.Empty
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer
Assembly: EPiServer.dll
Version: 10.10.4Syntax
public class DeleteContentEventArgs : ContentEventArgs
Constructors
DeleteContentEventArgs(ContentReference)
Initializes a new instance of the DeleteContentEventArgs class.
Declaration
public DeleteContentEventArgs(ContentReference contentLink)
Parameters
Type | Name | Description |
---|---|---|
ContentReference | contentLink | The content link the event applies to. |
DeleteContentEventArgs(ContentReference, ContentReference)
Initializes a new instance of the DeleteContentEventArgs class.
Declaration
public DeleteContentEventArgs(ContentReference contentLink, ContentReference targetLink)
Parameters
Type | Name | Description |
---|---|---|
ContentReference | contentLink | The content link the event applies to. |
ContentReference | targetLink | The target link. |
Fields
DeletedDescendentsKey
Key for deleted decentdents in Items
Declaration
public const string DeletedDescendentsKey = "DeletedDescendents"
Field Value
Type | Description |
---|---|
System.String |
Properties
DeletedDescendents
Gets or sets a list of references to any descendents that will also be deleted from this delete operation.
Declaration
public IList<ContentReference> DeletedDescendents { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<ContentReference> |