Search Results for

    Show / Hide Table of Contents
    View Source

    Class BlockItemVariation

    Represents a block item variation for culture and segment.

    Inheritance
    object
    Namespace: Umbraco.Cms.Core.Models.Blocks
    Assembly: Umbraco.Core.dll
    Syntax
    public class BlockItemVariation

    Constructors

    View Source

    BlockItemVariation()

    Initializes a new instance of the BlockItemVariation class.

    Declaration
    public BlockItemVariation()
    View Source

    BlockItemVariation(Guid, string?, string?)

    Initializes a new instance of the BlockItemVariation class.

    Declaration
    public BlockItemVariation(Guid contentKey, string? culture, string? segment)
    Parameters
    Type Name Description
    Guid contentKey

    The content key.

    string culture

    The culture.

    string segment

    The segment.

    Properties

    View Source

    ContentKey

    Gets or sets the content key.

    Declaration
    public Guid ContentKey { get; set; }
    Property Value
    Type Description
    Guid

    The content key.

    View Source

    Culture

    Gets or sets the culture.

    Declaration
    public string? Culture { get; set; }
    Property Value
    Type Description
    string

    The culture.

    View Source

    Segment

    Gets or sets the segment.

    Declaration
    public string? Segment { get; set; }
    Property Value
    Type Description
    string

    The segment.

    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX