Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IDomain

    Represents a domain name, optionally assigned to a content and/or language ID.

    Namespace: Umbraco.Cms.Core.Models
    Assembly: Umbraco.Core.dll
    Syntax
    public interface IDomain : IEntity, IDeepCloneable, IRememberBeingDirty, ICanBeDirty

    Properties

    View Source

    DomainName

    Gets or sets the name of the domain.

    Declaration
    string DomainName { get; set; }
    Property Value
    Type Description
    System.String

    The name of the domain.

    View Source

    IsWildcard

    Gets a value indicating whether this is a wildcard domain (only specifying the language of a content node).

    Declaration
    bool IsWildcard { get; }
    Property Value
    Type Description
    System.Boolean

    true if this is a wildcard domain; otherwise, false.

    View Source

    LanguageId

    Gets or sets the language ID assigned to the domain.

    Declaration
    int? LanguageId { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int32>

    The language ID assigned to the domain.

    View Source

    LanguageIsoCode

    Gets the language ISO code.

    Declaration
    string LanguageIsoCode { get; }
    Property Value
    Type Description
    System.String

    The language ISO code.

    View Source

    RootContentId

    Gets or sets the root content ID assigned to the domain.

    Declaration
    int? RootContentId { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int32>

    The root content ID assigned to the domain.

    View Source

    SortOrder

    Gets or sets the sort order.

    Declaration
    virtual int SortOrder { get; set; }
    Property Value
    Type Description
    System.Int32

    The sort order.

    • Improve this Doc
    • View Source
    In This Article
    • Properties
      • DomainName
      • IsWildcard
      • LanguageId
      • LanguageIsoCode
      • RootContentId
      • SortOrder
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX