Dijeli putem


Item Property (Int32)

Gets the specified CatalogProperty object from the collection, identified by position. In C#, this property is the indexer for the CatalogPropertyCollection 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 CatalogProperty
'Usage
Dim instance As CatalogPropertyCollection
Dim index As Integer
Dim value As CatalogProperty

value = instance.Item(index)
public override CatalogProperty Item[
    int index
] { get; }
public:
virtual property CatalogProperty^ Item[int index] {
    CatalogProperty^ 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..::.CatalogProperty
A reference to a specified CatalogProperty object from the CatalogPropertyCollection.

Remarks

Returns the indexed object within the collection.

The Item property allows for accessing the CatalogPropertyCollection by index.

Permissions

See Also

Reference

CatalogPropertyCollection Class

CatalogPropertyCollection Members

Item Overload

Microsoft.CommerceServer.Catalog Namespace