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 |
|---|---|
| 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 |
|---|---|
| bool |
|
LanguageId
Gets or sets the language ID assigned to the domain.
Declaration
int? LanguageId { get; set; }
Property Value
| Type | Description |
|---|---|
| int? | The language ID assigned to the domain. |
LanguageIsoCode
Gets the language ISO code.
Declaration
string? LanguageIsoCode { get; }
Property Value
| Type | Description |
|---|---|
| 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 |
|---|---|
| int? | The root content ID assigned to the domain. |
SortOrder
Gets or sets the sort order.
Declaration
int SortOrder { get; set; }
Property Value
| Type | Description |
|---|---|
| int | The sort order. |