Class BlockItemData
Represents a single block's data in raw form
Inheritance
System.Object
      Namespace: Umbraco.Cms.Core.Models.Blocks
Assembly: Umbraco.Infrastructure.dll
Syntax
public class BlockItemDataProperties
View SourceContentTypeAlias
not serialized, manually set and used during internally
Declaration
public string ContentTypeAlias { get; set; }Property Value
| Type | Description | 
|---|---|
| System.String | 
ContentTypeKey
Declaration
public Guid ContentTypeKey { get; set; }Property Value
| Type | Description | 
|---|---|
| Guid | 
Key
Declaration
public Guid Key { get; }Property Value
| Type | Description | 
|---|---|
| Guid | 
PropertyValues
Used during deserialization to convert the raw property data into data with a property type context
Declaration
public IDictionary<string, BlockItemData.BlockPropertyValue> PropertyValues { get; set; }Property Value
| Type | Description | 
|---|---|
| IDictionary<System.String, BlockItemData.BlockPropertyValue> | 
RawPropertyValues
The remaining properties will be serialized to a dictionary
Declaration
public Dictionary<string, object> RawPropertyValues { get; set; }Property Value
| Type | Description | 
|---|---|
| Umbraco.Cms.Core.Dictionary<System.String, System.Object> | 
Remarks
The JsonExtensionDataAttribute is used to put the non-typed properties into a bucket http://www.newtonsoft.com/json/help/html/DeserializeExtensionData.htm NestedContent serializes to string, int, whatever eg "stringValue":"Some String","numericValue":125,"otherNumeric":null
Udi
Declaration
public Udi Udi { get; set; }Property Value
| Type | Description | 
|---|---|
| Udi |