Class SalePriceTypeCollection
Collection of SaleTypeDefinition objects
Inheritance
System.Object
SalePriceTypeCollection
Namespace: Mediachase.Commerce.Catalog
Assembly: Mediachase.Commerce.dll
Version: 10.8.0Syntax
public class SalePriceTypeCollection : ConfigurationElementCollection
Constructors
SalePriceTypeCollection()
Declaration
public SalePriceTypeCollection()
Properties
Item[Int32]
Gets or sets the SalePriceTypeDefinition at the specified index.
Declaration
public SalePriceTypeDefinition this[int index] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index |
Property Value
Type | Description |
---|---|
SalePriceTypeDefinition |
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. |