Item Property (Int32)
Gets the OrderAddress 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 OrderAddress
'Usage
Dim instance As OrderAddressCollection
Dim index As Integer
Dim value As OrderAddress
value = instance.Item(index)
public OrderAddress Item[
int index
] { get; }
public:
property OrderAddress^ Item[int index] {
OrderAddress^ get (int index);
}
JScript does not support indexed properties.
Parameters
- index
Type: System..::.Int32
The zero-based index value of the OrderAddress to retrieve.
Property Value
Type: Microsoft.CommerceServer.Runtime.Orders..::.OrderAddress
The OrderAddress 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
Gets the OrderAddress object in the OrderAddressCollection collection with 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.