Table of Contents

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 string

Name of the system.

Returns

OrderFieldValue

InsertItem(int, OrderFieldValue)

Inserts an element into the Collection<T> at the specified index.

protected override void InsertItem(int index, OrderFieldValue item)

Parameters

index int

The zero-based index at which item should be inserted.

item OrderFieldValue

The object to insert. The value can be null for reference types.

Exceptions

ArgumentOutOfRangeException
   <code class="paramref">index</code> 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 int

The zero-based index of the element to remove.

Exceptions

ArgumentOutOfRangeException
   <code class="paramref">index</code> 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 int

The zero-based index of the element to replace.

item OrderFieldValue

The 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-

index is greater than Count.

To top