Class Locale
The Locale class is a custom business object that represents a locale, which is the language and country combination.
Implements
Inherited Members
Namespace: DotNetNuke.Services.Localization
Assembly: DotNetNuke.dll
Syntax
public class Locale : BaseEntityInfo, IHydratable
Constructors
| Improve this Doc View SourceLocale()
Initializes a new instance of the Locale class.
Declaration
public Locale()
Properties
| Improve this Doc View SourceCode
The Locale class is a custom business object that represents a locale, which is the language and country combination.
Declaration
public string Code { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Culture
The Locale class is a custom business object that represents a locale, which is the language and country combination.
Declaration
public CultureInfo Culture { get; }
Property Value
Type | Description |
---|---|
CultureInfo |
EnglishName
The Locale class is a custom business object that represents a locale, which is the language and country combination.
Declaration
public string EnglishName { get; }
Property Value
Type | Description |
---|---|
System.String |
Fallback
The Locale class is a custom business object that represents a locale, which is the language and country combination.
Declaration
public string Fallback { get; set; }
Property Value
Type | Description |
---|---|
System.String |
FallBackLocale
The Locale class is a custom business object that represents a locale, which is the language and country combination.
Declaration
public Locale FallBackLocale { get; }
Property Value
Type | Description |
---|---|
Locale |
IsPublished
The Locale class is a custom business object that represents a locale, which is the language and country combination.
Declaration
public bool IsPublished { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
KeyID
The Locale class is a custom business object that represents a locale, which is the language and country combination.
Declaration
public int KeyID { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
LanguageId
The Locale class is a custom business object that represents a locale, which is the language and country combination.
Declaration
public int LanguageId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
NativeName
The Locale class is a custom business object that represents a locale, which is the language and country combination.
Declaration
public string NativeName { get; }
Property Value
Type | Description |
---|---|
System.String |
PortalId
The Locale class is a custom business object that represents a locale, which is the language and country combination.
Declaration
public int PortalId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Text
The Locale class is a custom business object that represents a locale, which is the language and country combination.
Declaration
public string Text { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceFill(IDataReader)
The Locale class is a custom business object that represents a locale, which is the language and country combination.
Declaration
public void Fill(IDataReader dr)
Parameters
Type | Name | Description |
---|---|---|
IDataReader | dr |