Count Property
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Gets the number of inventory catalogs in the collection.
Namespace: Microsoft.CommerceServer.Inventory
Assembly: Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)
Syntax
'Declaration
Public ReadOnly Property Count As Integer
'Usage
Dim instance As InventoryCatalogCollection
Dim value As Integer
value = instance.Count
public int Count { get; }
public:
property int Count {
int get ();
}
public function get Count () : int
Property Value
Type: System..::.Int32
The number of items in the collection.
Remarks
A read-only property that returns a count of the number of InventoryCatalog objects contained in the InventoryCatalogCollection collection.
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.
See Also
Reference
InventoryCatalogCollection Class