Search Results for

    Show / Hide Table of Contents
    View Source

    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 BlockItemData

    Properties

    View Source

    ContentTypeAlias

    not serialized, manually set and used during internally

    Declaration
    public string ContentTypeAlias { get; set; }
    Property Value
    Type Description
    System.String
    View Source

    ContentTypeKey

    Declaration
    public Guid ContentTypeKey { get; set; }
    Property Value
    Type Description
    Guid
    View Source

    Key

    Declaration
    public Guid Key { get; }
    Property Value
    Type Description
    Guid
    View Source

    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>
    View Source

    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

    View Source

    Udi

    Declaration
    public Udi Udi { get; set; }
    Property Value
    Type Description
    Udi
    • Improve this Doc
    • View Source
    In This Article
    • Properties
      • ContentTypeAlias
      • ContentTypeKey
      • Key
      • PropertyValues
      • RawPropertyValues
      • Udi
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX