Share via


Item Property

Gets the payment method at the specified index from the collection.

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

Syntax

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

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

Parameters

Property Value

Type: Microsoft.CommerceServer.Orders..::.PaymentMethod
The PaymentMethod object in the PaymentMethodCollection collection at the specified index.

Exceptions

Exception Condition
ArgumentOutOfRangeException

index is outside the range of the collection.

Remarks

The PaymentMethod object at the specified index.

Permissions

See Also

Reference

PaymentMethodCollection Class

PaymentMethodCollection Members

Microsoft.CommerceServer.Orders Namespace