Dijeli putem


TryGetSku Method

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

Returns a value indicating if the specified InventorySku is within the InventorySkuCollection. This method also returns the specified InventorySku.

Overload List

  Name Description
ms989352.pubmethod(en-US,CS.70).gif TryGetSku(String, String, InventorySku%) Returns a value indicating if the specified InventorySku is within the InventorySkuCollection. This method also returns the specified InventorySku.
ms989352.pubmethod(en-US,CS.70).gif TryGetSku(String, String, String, InventorySku%) Returns a value indicating if the specified InventorySku is within the InventorySkuCollection. This method also returns the specified InventorySku.

Top

Remarks

Returns the InventorySku object for the specified inventory SKU if the inventory catalog exists in the collection. This method returns to true if the inventory catalog exists in the collection false if the inventory SKU does not exist in the collection. If this method returns false then the inventorySku object will be nullNothingnullptra null reference (Nothing in Visual Basic).

See Also

Reference

InventorySkuCollection Class

InventorySkuCollection Members

Microsoft.CommerceServer.Inventory Namespace