Search Results for

    Show / Hide Table of Contents
    View Source

    Class VariantModel

    Represents a variant model for content editing operations.

    Inheritance
    object
    Namespace: Umbraco.Cms.Core.Models.ContentEditing
    Assembly: Umbraco.Core.dll
    Syntax
    public class VariantModel

    Constructors

    View Source

    VariantModel()

    Declaration
    public VariantModel()

    Properties

    View Source

    Culture

    Gets or sets the culture code for this variant, or null for invariant content.

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

    Name

    Gets or sets the name of the content for this variant.

    Declaration
    public required string Name { get; set; }
    Property Value
    Type Description
    string
    View Source

    Segment

    Gets or sets the segment identifier for this variant, or null for non-segmented content.

    Declaration
    public string? Segment { get; set; }
    Property Value
    Type Description
    string
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX