Dijeli putem


Item Property (Int32)

Gets the OrderForm 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 OrderForm
'Usage
Dim instance As OrderFormCollection
Dim index As Integer
Dim value As OrderForm

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

Parameters

Property Value

Type: Microsoft.CommerceServer.Runtime.Orders..::.OrderForm
The OrderForm 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 OrderForm object in the OrderFormCollection collection with the specified index or nullNothingnullptra null reference (Nothing in Visual Basic) if no such order form exists.

Permissions

See Also

Reference

OrderFormCollection Class

OrderFormCollection Members

Item Overload

Microsoft.CommerceServer.Runtime.Orders Namespace