Class ContentDeletingEventArgs

Represents the argument passed in the event when a content is about to be deleted in EPiServer through a channel

Inheritance
System.Object
System.EventArgs
ContentDeletingEventArgs
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.ContentChannels.Events
Assembly: EPiServer.dll
Version: 8.11.0
Syntax
public class ContentDeletingEventArgs : ChannelPreActionEvent

Constructors

ContentDeletingEventArgs(String, Guid, String)

Constructor

Declaration
public ContentDeletingEventArgs(string channelId, Guid contentId, string cultureName)
Parameters
Type Name Description
System.String channelId

The channel id

System.Guid contentId

The content GUID of the content to be deleted

System.String cultureName

The culture names of the langugage versions to be deleted

Properties

ContentId

Gets the id for the content that is to be deleted

Declaration
public Guid ContentId { get; }
Property Value
Type Description
System.Guid

CultureName

Gets the name of the culture for which language version that is deleted.

Declaration
public string CultureName { get; }
Property Value
Type Description
System.String

The name of the culture.

Remarks

If culture name is null or empty all language versions for the content is to be deleted

Extension Methods