Share via


Item Property

Gets the shipping 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 ShippingMethod
'Usage
Dim instance As ShippingMethodCollection
Dim index As Integer
Dim value As ShippingMethod

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

Parameters

Property Value

Type: Microsoft.CommerceServer.Orders..::.ShippingMethod
The ShippingMethod object in the ShippingMethodCollection collection at the specified index.

Exceptions

Exception Condition
ArgumentOutOfRangeException

index is outside the range of the collection.

Remarks

Returns the ShippingMethod object in the ShippingMethodCollection collection at the specified index.

Permissions

See Also

Reference

ShippingMethodCollection Class

ShippingMethodCollection Members

Microsoft.CommerceServer.Orders Namespace