Partager via


Item Property (Int32)

Gets a particular property of the discount collection, based upon the index.

Namespace:  Microsoft.CommerceServer.Runtime.Marketing
Assembly:  Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)

Syntax

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

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

Parameters

Property Value

Type: System..::.Object
The Object at the specified index.

Exceptions

Exception Condition
ArgumentOutOfRangeException

index is less than zero or equal to or greater than Count

Remarks

Gets the property object in the DiscountItem collection with the specified index.

Permissions

See Also

Reference

DiscountItem Class

DiscountItem Members

Item Overload

Microsoft.CommerceServer.Runtime.Marketing Namespace