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 SourceDomainName
Gets or sets the name of the domain.
Declaration
string DomainName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name of the domain. |
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 |
|
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. |
LanguageIsoCode
Gets the language ISO code.
Declaration
string LanguageIsoCode { get; }
Property Value
Type | Description |
---|---|
System.String | The language ISO code. |
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. |
SortOrder
Gets or sets the sort order.
Declaration
virtual int SortOrder { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The sort order. |