Class ContentTypeEventArgs
Class to pass event arguments from Content
Inheritance
Namespace: EPiServer.DataAbstraction
Assembly: EPiServer.dll
Version: 12.0.3Syntax
public class ContentTypeEventArgs : EventArgs
Constructors
ContentTypeEventArgs(Int32, Guid, Boolean)
Declaration
public ContentTypeEventArgs(int contentTypeID, Guid contentTypeGUID, bool isBlockType)
Parameters
Type | Name | Description |
---|---|---|
System. |
contentTypeID | |
System. |
contentTypeGUID | |
System. |
isBlockType |
ContentTypeEventArgs(Int32, Guid, Boolean, Boolean)
Initializes a new instance of the Content
Declaration
public ContentTypeEventArgs(int contentTypeID, Guid contentTypeGUID, bool isBlockType, bool isNewContentType)
Parameters
Type | Name | Description |
---|---|---|
System. |
contentTypeID | The ID of the Content |
System. |
contentTypeGUID | The GUID of the Content |
System. |
isBlockType | If set to |
System. |
isNewContentType | If set to |
ContentTypeEventArgs(Int32, Guid, Boolean, Boolean, String, Nullable<DateTime>, String)
Initializes a new instance of the Content
Declaration
public ContentTypeEventArgs(int contentTypeID, Guid contentTypeGUID, bool isBlockType, bool isNewContentType, string name, Nullable<DateTime> saved, string savedBy)
Parameters
Type | Name | Description |
---|---|---|
System. |
contentTypeID | The ID of the Content |
System. |
contentTypeGUID | The GUID of the Content |
System. |
isBlockType | If set to |
System. |
isNewContentType | If set to |
System. |
name | The name of the Content |
System. |
saved | The time the Content |
System. |
savedBy | The user saved the Content |
Properties
ContentTypeGUID
Gets the GUID of the Content
Declaration
public Guid ContentTypeGUID { get; }
Property Value
Type | Description |
---|---|
System. |
ContentTypeID
Gets the ID of the Content
Declaration
public int ContentTypeID { get; }
Property Value
Type | Description |
---|---|
System. |
IsBlockType
Gets a value indicating whether the Content
Declaration
public bool IsBlockType { get; }
Property Value
Type | Description |
---|---|
System. |
|
IsNewContentType
Gets a value indicating whether the Content
Declaration
public bool IsNewContentType { get; }
Property Value
Type | Description |
---|---|
System. |
|
Name
Gets the Name of the Content
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System. |
Saved
Gets the time when the Content
Declaration
public Nullable<DateTime> Saved { get; }
Property Value
Type | Description |
---|---|
System. |
SavedBy
Gets the user that saved the Content
Declaration
public string SavedBy { get; }
Property Value
Type | Description |
---|---|
System. |