EMS.Services.TEMSServices.TryGetService

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

class function TryGetService<T: IInterface>(out Intf: T): Boolean;

C++

template<typename T> __classmethod bool __fastcall TryGetService(/* out */ T &Intf);

プロパティ

種類 可視性 ソース ユニット
function public
EMS.Services.pas
EMS.Services.hpp
EMS.Services TEMSServices


説明

指定されたサービス インターフェイスのオブジェクト インターフェイスIntf に格納し、正常に終了した場合は True を、対象となるサービスが EMS サーバーでサポートされていない場合は False を、それぞれ返します。

T パラメータは、EMS.Services ユニットの任意のサービス インターフェイスでかまいません。

関連項目