Class ContentTypeEventArgs
Class to pass event arguments from ContentType events.
Inheritance
Inherited Members
Namespace: EPiServer.DataAbstraction
Assembly: EPiServer.dll
Version: 8.11.0Syntax
public class ContentTypeEventArgs : EventArgs
Constructors
ContentTypeEventArgs(Int32, Guid, Boolean)
Declaration
public ContentTypeEventArgs(int contentTypeID, Guid contentTypeGUID, bool isBlockType)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | contentTypeID | |
System.Guid | contentTypeGUID | |
System.Boolean | isBlockType |
ContentTypeEventArgs(Int32, Guid, Boolean, Boolean)
Initializes a new instance of the ContentTypeEventArgs class.
Declaration
public ContentTypeEventArgs(int contentTypeID, Guid contentTypeGUID, bool isBlockType, bool isNewContentType)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | contentTypeID | The ID of the ContentType affected by the event. |
System.Guid | contentTypeGUID | The GUID of the ContentType affected by the event. |
System.Boolean | isBlockType | If set to |
System.Boolean | isNewContentType | If set to |
Properties
ContentTypeGUID
Gets the GUID of the ContentType affected by the event.
Declaration
public Guid ContentTypeGUID { get; }
Property Value
Type | Description |
---|---|
System.Guid |
ContentTypeID
Gets the ID of the ContentType affected by the event.
Declaration
public int ContentTypeID { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
IsBlockType
Gets a value indicating whether the ContentType affected by the event is a BlockType.
Declaration
public bool IsBlockType { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
IsNewContentType
Gets a value indicating whether the ContentType just been created.
Declaration
public bool IsNewContentType { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|