Share via


Item Property

Gets a CatalogItem at a particular index in the CatalogItemsDataSet..::.CatalogItemsDataTable.

Namespace:  Microsoft.CommerceServer.Catalog
Assembly:  Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)

Syntax

'Declaration
Public ReadOnly Property Item ( _
    index As Integer _
) As CatalogItemsDataSet..::.CatalogItem
'Usage
Dim instance As CatalogItemsDataSet..::.CatalogItemsDataTable
Dim index As Integer
Dim value As CatalogItemsDataSet..::.CatalogItem

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

Parameters

Property Value

Type: Microsoft.CommerceServer.Catalog..::.CatalogItemsDataSet..::.CatalogItem
A CatalogItem object in the CatalogItemsDataSet..::.CatalogItemsDataTable at the index from the index parameter.

Exceptions

Exception Condition
ArgumentOutOfRangeException

The index parameter is out of range of the DataSet.

Remarks

Returns the indexed object within the DataSet.

Permissions

See Also

Reference

CatalogItemsDataSet..::.CatalogItemsDataTable Class

CatalogItemsDataSet..::.CatalogItemsDataTable Members

Microsoft.CommerceServer.Catalog Namespace