Dijeli putem


Item Property (String, String)

Gets the specified InventorySku object from the InventorySkuCollection, identified by key. The InventorySKU object is specified by the Product catalog and the product identifier. In C#, this property is the indexer for the InventoryCatalogCollection class.

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

Syntax

'Declaration
Public ReadOnly Property Item ( _
    productCatalogName As String, _
    productId As String _
) As InventorySku
'Usage
Dim instance As InventorySkuCollection
Dim productCatalogName As String
Dim productId As String
Dim value As InventorySku

value = instance.Item(productCatalogName, _
    productId)
public InventorySku Item[
    string productCatalogName,
    string productId
] { get; }
public:
property InventorySku^ Item[String^ productCatalogName, String^ productId] {
    InventorySku^ get (String^ productCatalogName, String^ productId);
}
JScript does not support indexed properties.

Parameters

Property Value

Type: Microsoft.CommerceServer.Inventory..::.InventorySku
A reference to a specified InventorySku object from the InventorySkuCollection.

Remarks

Returns the InventorySku object specified by productCatalogName and productId, from within the InventorySkuCollection.

Permissions

See Also

Reference

InventorySkuCollection Class

InventorySkuCollection Members

Item Overload

Microsoft.CommerceServer.Inventory Namespace