RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCOMAdminCatalogCollection.GetCollection Method

Returns a TCOMAdminCatalogCollectionCollection object for a specified collection.

Pascal
function GetCollection(const bstrCollName: WideString; varObjectKey: OleVariant): TCOMAdminCatalogCollection;
C++
__fastcall TCOMAdminCatalogCollection GetCollection(const BSTR bstrCollName, OleVariant varObjectKey);

GetCollection retrieves a sub-collection that is contained in this collection. 

bstrCollName is the name of the desired collection. The available collections depend on your version of the COMAdmin Library. See the Microsoft documentation for a list of the available collections in your version of the COMAdmin Library. 

Key is the Key property of the item to which the collection belongs.

Note: The TCOMAdminCatalogCollectionCollection object that GetCollection returns does not contain data from the catalog for items contained in the collection. Use its Populate method to read in data for items in the collection.
 

 

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