Partilhar via


Item Property

Gets the OrderGroup object from the current collection, based upon the specified index.

Namespace:  Microsoft.CommerceServer.Runtime.Orders
Assembly:  Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)

Syntax

'Declaration
Public ReadOnly Property Item ( _
    index As Integer _
) As OrderGroup
'Usage
Dim instance As OrderGroupCollection
Dim index As Integer
Dim value As OrderGroup

value = instance.Item(index)
public OrderGroup Item[
    int index
] { get; }
public:
property OrderGroup^ Item[int index] {
    OrderGroup^ get (int index);
}
JScript does not support indexed properties.

Parameters

Property Value

Type: Microsoft.CommerceServer.Runtime.Orders..::.OrderGroup
The OrderGroup with the specified index, or nullNothingnullptra null reference (Nothing in Visual Basic) if no such item exists.

Exceptions

Exception Condition
ArgumentOutOfRangeException

index is outside the range of the collection.

Remarks

Returns the OrderGroup in the OrderGroupCollection collection with the specified index or nullNothingnullptra null reference (Nothing in Visual Basic) if no such order group exists.

Permissions

See Also

Reference

OrderGroupCollection Class

OrderGroupCollection Members

Microsoft.CommerceServer.Runtime.Orders Namespace