Share via


Item Property (String, String, String)

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Gets the specified InventorySku object from the InventorySkuCollection, identified by key. The InventorySKU object is specified by the Product catalog and the variant identifier.

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, _
    variantId As String _
) As InventorySku
'Usage
Dim instance As InventorySkuCollection
Dim productCatalogName As String
Dim productId As String
Dim variantId As String
Dim value As InventorySku

value = instance.Item(productCatalogName, _
    productId, variantId)
public InventorySku Item[
    string productCatalogName,
    string productId,
    string variantId
] { get; }
public:
property InventorySku^ Item[String^ productCatalogName, String^ productId, String^ variantId] {
    InventorySku^ get (String^ productCatalogName, String^ productId, String^ variantId);
}
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 variantId, from within the InventorySkuCollection.

Permissions

See Also

Reference

InventorySkuCollection Class

InventorySkuCollection Members

Item Overload

Microsoft.CommerceServer.Inventory Namespace