Class Language
Represents a Language
Namespace:System.Dynamic.ExpandoObject
Assembly:Umbraco.Core.dll
Syntax
[Serializable]
[DataContract(IsReference = true)]
public class Language : Entity, ILanguage, IAggregateRoot, IDeletableEntity, IEntity, IDeepCloneable, IRememberBeingDirty, ICanBeDirty
Constructors
Language(String)
Declaration
public Language(string isoCode)
Parameters
Type | Name | Description |
---|---|---|
System.String | isoCode |
Properties
CultureInfo
Returns a CultureInfo object for the current Language
Declaration
[IgnoreDataMember]
public CultureInfo CultureInfo { get; }
Property Value
Type | Description |
---|---|
System.Globalization.CultureInfo |
CultureName
Gets or sets the Culture Name for the Language
Declaration
[DataMember]
public string CultureName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
IsoCode
Gets or sets the Iso Code for the Language
Declaration
[DataMember]
public string IsoCode { get; set; }
Property Value
Type | Description |
---|---|
System.String |