Class OrderLineFieldValueCollection
- Namespace
- Dynamicweb.Ecommerce.Orders
- Assembly
- Dynamicweb.Ecommerce.dll
Represents a collection of the OrderLineFieldValue objects.
[Serializable]
public class OrderLineFieldValueCollection : Collection<OrderLineFieldValue>, IList<OrderLineFieldValue>, ICollection<OrderLineFieldValue>, IReadOnlyList<OrderLineFieldValue>, IReadOnlyCollection<OrderLineFieldValue>, IEnumerable<OrderLineFieldValue>, IList, ICollection, IEnumerable
- Inheritance
-
OrderLineFieldValueCollection
- Implements
- Inherited Members
- Extension Methods
Constructors
OrderLineFieldValueCollection()
Initializes a new instance of the OrderLineFieldValueCollection class.
public OrderLineFieldValueCollection()
Methods
ClearItems()
Removes all elements from the Collection<T>.
protected override void ClearItems()
Equals(object)
Determines whether the specified object is equal to this instance.
public override bool Equals(object obj)
Parameters
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
InsertItem(int, OrderLineFieldValue)
Inserts an element into the Collection<T> at the specified index.
protected override void InsertItem(int index, OrderLineFieldValue item)
Parameters
index
intThe zero-based index at which
item
should be inserted.item
OrderLineFieldValueThe 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, OrderLineFieldValue)
Replaces the element at the specified index.
protected override void SetItem(int index, OrderLineFieldValue item)
Parameters
index
intThe zero-based index of the element to replace.
item
OrderLineFieldValueThe 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.