Search Results for

    Show / Hide Table of Contents

    Class BlockItemData

    Represents a single block's data in raw form

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Core.Models.Blocks
    Assembly: cs.temp.dll.dll
    Syntax
    public class BlockItemData

    Properties

    ContentTypeAlias

    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
    System.Guid

    Key

    Declaration
    public Guid Key { get; }
    Property Value
    Type Description
    System.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
    System.Collections.Generic.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
    System.Collections.Generic.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
    In This Article
    • Properties
      • ContentTypeAlias
      • ContentTypeKey
      • Key
      • PropertyValues
      • RawPropertyValues
      • Udi
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX