EMS.Services.TEMSServices.GetService
Delphi
class function GetService<T: IInterface>: T;
C++
template<typename T> __classmethod T __fastcall GetService();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | EMS.Services.pas EMS.Services.hpp |
EMS.Services | TEMSServices |
Description
Returns an object interface of the specified service interface.
T
may be any of the service interfaces of the EMS.Services unit.
If the EMS Server does not support the target service, GetService returns nil.