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.Core.dll
    Syntax
    public class BlockItemData

    Constructors

    View Source

    BlockItemData()

    Declaration
    public BlockItemData()
    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
    Type Description
    Guid
    View Source

    Key

    Declaration
    public Guid Key { get; set; }
    Property Value
    Type Description
    Guid
    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
    Type Description
    Udi
    View Source

    Values

    Declaration
    public IList<BlockPropertyValue> Values { get; set; }
    Property Value
    Type Description
    IList<BlockPropertyValue>
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • BlockItemData()
      • BlockItemData(Guid, Guid, String)
      • BlockItemData(Udi, Guid, String)
    • Properties
      • ContentTypeAlias
      • ContentTypeKey
      • Key
      • RawPropertyValues
      • Udi
      • Values
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX