Item Property (Int32)

Gets the specified ProductCatalog object from the collection, identified by position. In C#, this property is the indexer for the ProductCatalogCollection class.

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

Syntax

'Declaration
Public Overrides ReadOnly Property Item ( _
    index As Integer _
) As ProductCatalog
'Usage
Dim instance As ProductCatalogCollection
Dim index As Integer
Dim value As ProductCatalog

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

Parameters

  • index
    Type: System..::.Int32
    An expression that specifies the position of a member of the collection. index must be a number from 1 to the value of the collection's Count property.

Property Value

Type: Microsoft.CommerceServer.Catalog..::.ProductCatalog
A reference to a specified ProductCatalog object from the ProductCatalogCollection.

Remarks

Returns the indexed object within the collection.

The Item property allows for accessing the ProductCatalogCollection by index.

Permissions

See Also

Reference

ProductCatalogCollection Class

ProductCatalogCollection Members

Item Overload

Microsoft.CommerceServer.Catalog Namespace