• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Class LocaleCollection

The LocaleCollection class is a collection of Locale objects. It stores the supported locales.

Inheritance
System.Object
LocaleCollection
Namespace: DotNetNuke.Services.Localization
Assembly: DotNetNuke.dll
Syntax
public class LocaleCollection : NameObjectCollectionBase

Properties

| Improve this Doc View Source

AllKeys

The LocaleCollection class is a collection of Locale objects. It stores the supported locales.

Declaration
public string[] AllKeys { get; }
Property Value
Type Description
System.String[]
| Improve this Doc View Source

AllValues

The LocaleCollection class is a collection of Locale objects. It stores the supported locales.

Declaration
public Array AllValues { get; }
Property Value
Type Description
Array
| Improve this Doc View Source

HasKeys

The LocaleCollection class is a collection of Locale objects. It stores the supported locales.

Declaration
public bool HasKeys { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Item[Int32]

The LocaleCollection class is a collection of Locale objects. It stores the supported locales.

Declaration
public DictionaryEntry this[int index] { get; }
Parameters
Type Name Description
System.Int32 index
Property Value
Type Description
DictionaryEntry
| Improve this Doc View Source

Item[String]

The LocaleCollection class is a collection of Locale objects. It stores the supported locales.

Declaration
public Locale this[string key] { get; set; }
Parameters
Type Name Description
System.String key
Property Value
Type Description
Locale

Methods

| Improve this Doc View Source

Add(String, Object)

The LocaleCollection class is a collection of Locale objects. It stores the supported locales.

Declaration
public void Add(string key, object value)
Parameters
Type Name Description
System.String key
System.Object value
| Improve this Doc View Source

Remove(String)

The LocaleCollection class is a collection of Locale objects. It stores the supported locales.

Declaration
public void Remove(string key)
Parameters
Type Name Description
System.String key

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS