Partager via


Item Property

Gets a CatalogPropertiesDataSet..::.CatalogProperty at a particular index in the CatalogPropertiesDataSet..::.CatalogPropertiesDataTable.

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

Syntax

'Declaration
Public ReadOnly Property Item ( _
    index As Integer _
) As CatalogPropertiesDataSet..::.CatalogProperty
'Usage
Dim instance As CatalogPropertiesDataSet..::.CatalogPropertiesDataTable
Dim index As Integer
Dim value As CatalogPropertiesDataSet..::.CatalogProperty

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

Parameters

Property Value

Type: Microsoft.CommerceServer.Catalog..::.CatalogPropertiesDataSet..::.CatalogProperty
A CatalogPropertiesDataSet..::.CatalogProperty object in the CatalogPropertiesDataSet..::.CatalogPropertiesDataTable 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

CatalogPropertiesDataSet..::.CatalogPropertiesDataTable Class

CatalogPropertiesDataSet..::.CatalogPropertiesDataTable Members

Microsoft.CommerceServer.Catalog Namespace