November Happy Hour will be moved to Thursday December 5th.

Class DeleteContentEventArgs

Event arguments used when content is deleted.

Inheritance
System.Object
System.EventArgs
DeleteContentEventArgs
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: 9.12.2
Syntax
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.

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>

Extension Methods