Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- index
Type: System..::.Int32
Index of the ShippingMethod to retrieve.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
ShippingMethodCollection Class