RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCOMAdminCatalogCollection.Count Property

Indicates the number of items in the collection.

Pascal
property Count: Integer;
C++
__property int Count;

Use Count to determine the number of items in the collection. Count acts as an upper bound for the index to the Get_Item method. 

When you first obtain a TCOMAdminCatalogCollection object, the value of Count is 0. Call the Populate method to fill the collection with its items to determine the actual number of items in this collection of the COM+ catalog. 

To change the value of Count, add items using the Add method or delete them using the Remove method. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!