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
indexintThe zero-based index at which
itemshould be inserted.itemOrderLineFieldValueThe object to insert. The value can be null for reference types.
Exceptions
- ArgumentOutOfRangeException
<code class="paramref">index</code> is less than zero.-or-
indexis greater than Count.
RemoveItem(int)
Removes the element at the specified index of the Collection<T>.
protected override void RemoveItem(int index)
Parameters
indexintThe zero-based index of the element to remove.
Exceptions
- ArgumentOutOfRangeException
<code class="paramref">index</code> is less than zero.-or-
indexis 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
indexintThe zero-based index of the element to replace.
itemOrderLineFieldValueThe new value for the element at the specified index. The value can be null for reference types.
Exceptions
- ArgumentOutOfRangeException
<code class="paramref">index</code> is less than zero.-or-
indexis greater than Count.