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 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
- productCatalogName
Type: System..::.String
The name of the mapped product catalog.
- productId
Type: System..::.String
The product identifier.
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
- 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.