Class OrderFieldValueCollection
- Namespace
- Dynamicweb.Ecommerce.Orders
- Assembly
- Dynamicweb.Ecommerce.dll
Represents a collection of the OrderFieldValue objects.
[Serializable]
public class OrderFieldValueCollection : Collection<OrderFieldValue>, IList<OrderFieldValue>, ICollection<OrderFieldValue>, IReadOnlyList<OrderFieldValue>, IReadOnlyCollection<OrderFieldValue>, IEnumerable<OrderFieldValue>, IList, ICollection, IEnumerable
- Inheritance
-
OrderFieldValueCollection
- Implements
- Inherited Members
- Extension Methods
Constructors
OrderFieldValueCollection()
Initializes a new instance of the OrderFieldValueCollection class.
public OrderFieldValueCollection()
Methods
ClearItems()
Removes all elements from the Collection<T>.
protected override void ClearItems()
GetOrderFieldValue(string)
Gets the OrderFieldValue object.
public OrderFieldValue GetOrderFieldValue(string systemName)
Parameters
systemName
stringName of the system.
Returns
InsertItem(int, OrderFieldValue)
Inserts an element into the Collection<T> at the specified index.
protected override void InsertItem(int index, OrderFieldValue item)
Parameters
index
intThe zero-based index at which
item
should be inserted.item
OrderFieldValueThe object to insert. The value can be null for reference types.
Exceptions
- ArgumentOutOfRangeException
index
is less than zero.-or-
index
is greater than Count.
RemoveItem(int)
Removes the element at the specified index of the Collection<T>.
protected override void RemoveItem(int index)
Parameters
index
intThe zero-based index of the element to remove.
Exceptions
- ArgumentOutOfRangeException
index
is less than zero.-or-
index
is equal to or greater than Count.
SetItem(int, OrderFieldValue)
Replaces the element at the specified index.
protected override void SetItem(int index, OrderFieldValue item)
Parameters
index
intThe zero-based index of the element to replace.
item
OrderFieldValueThe new value for the element at the specified index. The value can be null for reference types.
Exceptions
- ArgumentOutOfRangeException
index
is less than zero.-or-
index
is greater than Count.