Vcl.CmAdmCtl.TCOMAdminCatalogCollection.GetCollection
Delphi
function GetCollection(const bstrCollName: WideString; varObjectKey: OleVariant):
C++
TCOMAdminCatalogCollection* __fastcall GetCollection(const System::WideString bstrCollName, const System::OleVariant &varObjectKey);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | Vcl.CmAdmCtl.pas Vcl.CmAdmCtl.hpp |
Vcl.CmAdmCtl | TCOMAdminCatalogCollection |
説明
指定したコレクションの TCOMAdminCatalogCollection Collection オブジェクトを返します。
GetCollection メソッドは,このコレクションにあるサブコレクションを取得します。
bstrCollName パラメータは,対象となるコレクションの名前です。使用可能なコレクションは,COMAdmin ライブラリのバージョンによって異なります。お手持ちの COMAdmin ライブラリのバージョンで使用可能なコレクションのリストについては,Microsoft のマニュアルを参照してください。
Key パラメータは,コレクションが属する項目の Key プロパティです。
メモ: GetCollection が返す TCOMAdminCatalogCollection Collection オブジェクトは,コレクションにある項目のカタログデータを保持していません。コレクション項目のデータを読み出すには,Populate メソッドを使用します。