Class ContentDeletedEventArgs
Represents the argument passed in the event when a content was deleted in EPiServer through a channel
Inheritance
System.Object
System.EventArgs
ContentDeletedEventArgs
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.0Syntax
public class ContentDeletedEventArgs : ChannelEventArgs
Constructors
ContentDeletedEventArgs(String, Guid, String)
Initializes a new instance of the ContentDeletedEventArgs class.
Declaration
public ContentDeletedEventArgs(string channelId, Guid contentId, string cultureName)
Parameters
Type | Name | Description |
---|---|---|
System.String | channelId | The channel id |
System.Guid | contentId | The content GUID of the deleted content |
System.String | cultureName | Name of the culture of the deleted language version |
Properties
ContentId
Gets the id for the deleted page
Declaration
public Guid ContentId { get; }
Property Value
Type | Description |
---|---|
System.Guid |
CultureName
Gets the name of the culture for which language version that was 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 was deleted