Share via


Item Property

Gets a CatalogRelationshipsDataSet..::.CatalogRelationship at a particular index in the CatalogRelationshipsDataSet..::.CatalogRelationshipsDataTable.

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

Syntax

'Declaration
Public ReadOnly Property Item ( _
    index As Integer _
) As CatalogRelationshipsDataSet..::.CatalogRelationship
'Usage
Dim instance As CatalogRelationshipsDataSet..::.CatalogRelationshipsDataTable
Dim index As Integer
Dim value As CatalogRelationshipsDataSet..::.CatalogRelationship

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

Parameters

Property Value

Type: Microsoft.CommerceServer.Catalog..::.CatalogRelationshipsDataSet..::.CatalogRelationship
A CatalogRelationshipsDataSet..::.CatalogRelationship object in the CatalogRelationshipsDataSet..::.CatalogRelationshipsDataTable 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

CatalogRelationshipsDataSet..::.CatalogRelationshipsDataTable Class

CatalogRelationshipsDataSet..::.CatalogRelationshipsDataTable Members

Microsoft.CommerceServer.Catalog Namespace