London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

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