View Source
Class BlockItemData
Represents a single block's data in raw form
Inheritance
System.Object
Assembly: Umbraco.Core.dll
Syntax
public class BlockItemData
Constructors
View Source
BlockItemData()
Declaration
View Source
BlockItemData(Guid, Guid, String)
Declaration
public BlockItemData(Guid key, Guid contentTypeKey, string contentTypeAlias)
Parameters
Type |
Name |
Description |
Guid |
key |
|
Guid |
contentTypeKey |
|
System.String |
contentTypeAlias |
|
View Source
BlockItemData(Udi, Guid, String)
Declaration
public BlockItemData(Udi udi, Guid contentTypeKey, string contentTypeAlias)
Parameters
Type |
Name |
Description |
Udi |
udi |
|
Guid |
contentTypeKey |
|
System.String |
contentTypeAlias |
|
Properties
View Source
ContentTypeAlias
not serialized, manually set and used during internally
Declaration
[JsonIgnore]
public string ContentTypeAlias { get; set; }
Property Value
Type |
Description |
System.String |
|
View Source
ContentTypeKey
Declaration
public Guid ContentTypeKey { get; set; }
Property Value
View Source
Key
Declaration
public Guid Key { get; set; }
Property Value
View Source
RawPropertyValues
Declaration
[JsonExtensionData]
public Dictionary<string, object> RawPropertyValues { get; set; }
Property Value
Type |
Description |
Umbraco.Cms.Core.Dictionary<System.String, System.Object> |
|
View Source
Udi
Declaration
public Udi Udi { get; set; }
Property Value
View Source
Values
Declaration
public IList<BlockPropertyValue> Values { get; set; }
Property Value