Class LanguageCollection
Collection of LanguageDefinition objects
Inheritance
System.Object
LanguageCollection
Namespace: Mediachase.Commerce.Core
Assembly: Mediachase.Commerce.dll
Version: 12.17.2Syntax
[Obsolete("The static language configuration is no longer used, language definitions in Episerver CMS are used instead. Will remail at least until January 2019")]
public class LanguageCollection : ConfigurationElementCollection
Constructors
LanguageCollection()
Declaration
public LanguageCollection()
Properties
Item[Int32]
Gets or sets the LanguageDefinition at the specified index.
Declaration
public LanguageDefinition this[int index] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index |
Property Value
Type | Description |
---|---|
LanguageDefinition |
Methods
CreateNewElement()
When overridden in a derived class, creates a new System.Configuration.ConfigurationElement.
Declaration
protected override ConfigurationElement CreateNewElement()
Returns
Type | Description |
---|---|
System.Configuration.ConfigurationElement | A new System.Configuration.ConfigurationElement. |
GetElementKey(ConfigurationElement)
Gets the element key for a specified configuration element when overridden in a derived class.
Declaration
protected override object GetElementKey(ConfigurationElement element)
Parameters
Type | Name | Description |
---|---|---|
System.Configuration.ConfigurationElement | element | The System.Configuration.ConfigurationElement to return the key for. |
Returns
Type | Description |
---|---|
System.Object | An System.Object that acts as the key for the specified System.Configuration.ConfigurationElement. |