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