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