Table of Contents

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

obj object

The object to compare with this instance.

Returns

bool

true if the specified object is equal to this instance; otherwise, false.

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 int

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

item OrderLineFieldValue

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

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

The zero-based index of the element to replace.

item OrderLineFieldValue

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

To top