Virtual Happy Hour this month, Jun 28, we'll be getting a sneak preview at our soon to launch SaaS CMS!

Try our conversational search powered by Generative AI!

Class BlockData

Contains information about a specific block.

Inheritance
System.Object
BlockData
Inherited Members
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.Core
Assembly: EPiServer.dll
Version: 8.11.0
Syntax
[AdministrationSettings(GroupName = "blocktypes", Visible = true, Order = 20)]
[AvailableContentTypes(Availability = Availability.None)]
public class BlockData : ContentData, IContentData, IInitializableContent, IModifiedTrackable, IReadOnly<BlockData>, IReadOnly
Examples

The following example shows how you can create a custom block data:

Constructors

BlockData()

Declaration
public BlockData()

Methods

CreateWritableClone()

Creates a writable clone of this object.

Declaration
public virtual BlockData CreateWritableClone()
Returns
Type Description
BlockData

A clone of this object.

Implements

Extension Methods