Class PageTypeEventArgs
Class to pass event arguments from PageType events.
Inheritance
System.Object
System.EventArgs
PageTypeEventArgs
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.DataAbstraction
Assembly: EPiServer.dll
Version: 9.12.2Syntax
[Obsolete("Replaced by ContentTypeEventArgs")]
public sealed class PageTypeEventArgs : EventArgs
Constructors
PageTypeEventArgs(Int32, Guid)
Initializes a new instance of the PageTypeEventArgs class.
Declaration
public PageTypeEventArgs(int pageTypeID, Guid pageTypeGUID)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | pageTypeID | The ID of the PageType affected by the event. |
System.Guid | pageTypeGUID | The GUID of the PageType affected by the event. |
PageTypeEventArgs(Int32, Guid, Boolean)
Initializes a new instance of the PageTypeEventArgs class.
Declaration
public PageTypeEventArgs(int pageTypeID, Guid pageTypeGUID, bool isNewPageType)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | pageTypeID | The ID of the PageType affected by the event. |
System.Guid | pageTypeGUID | The GUID of the PageType affected by the event. |
System.Boolean | isNewPageType | If set to |
Properties
IsNewPageType
Gets a value indicating whether the PageType just been created.
Declaration
public bool IsNewPageType { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
PageTypeGUID
Gets the GUID of the PageType affected by the event.
Declaration
public Guid PageTypeGUID { get; }
Property Value
Type | Description |
---|---|
System.Guid |
PageTypeID
Gets the ID of the PageType affected by the event.
Declaration
public int PageTypeID { get; }
Property Value
Type | Description |
---|---|
System.Int32 |