Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the specified Category object from the collection, identified by position. In C#, this property is the indexer for the CategoryCollection 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 Category
'Usage
Dim instance As CategoryCollection
Dim index As Integer
Dim value As Category
value = instance.Item(index)
public override Category Item[
int index
] { get; }
public:
virtual property Category^ Item[int index] {
Category^ 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..::.Category
A reference to a specified Category object from the CategoryCollection.
Remarks
Returns the indexed object within the collection.
The Item property allows for accessing the CategoryCollection by index.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.