次の方法で共有


Item Property

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

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

Parameters

Property Value

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

Exceptions

Exception Condition
ArgumentOutOfRangeException

index is out of range of the available Payment objects.

Remarks

Returns the Payment object from the current collection with the specified index or nullNothingnullptra null reference (Nothing in Visual Basic) if no such payment exists.

Permissions

See Also

Reference

PaymentCollection Class

PaymentCollection Members

Microsoft.CommerceServer.Runtime.Orders Namespace