Class BlockType
Represents the definition of a block. Used to create instances of BlockData.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.DataAbstraction
Assembly: EPiServer.dll
Version: 8.11.0Syntax
public class BlockType : ContentType, IComparable, IComparable<ContentType>, IReadOnly<BlockType>, IReadOnly
Constructors
BlockType()
Initializes a new instance of the BlockType class.
Declaration
public BlockType()
BlockType(Int32, Guid, String, String, Boolean, Int32)
Initializes a new instance of the BlockType class.
Declaration
public BlockType(int id, Guid guid, string name, string description, bool isAvailable, int sortOrder)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | id | The id. |
System.Guid | guid | The GUID based identifier. |
System.String | name | The name. |
System.String | description | The description. |
System.Boolean | isAvailable | if set to |
System.Int32 | sortOrder | The sort order. |
Methods
CreateWritableClone()
Creates a writable clone of this object.
Declaration
public BlockType CreateWritableClone()
Returns
Type | Description |
---|---|
BlockType | A clone of this object that is writable. |
Implements
System.IComparable
System.IComparable<T>