EMS.Services.TEMSServices.GetService
| [–] Properties | |
|---|---|
| Type: function | |
| Visibility: public | |
| Source: EMS.Services.pas EMS.Services.hpp
| |
| Unit: EMS.Services | |
| Parent: TEMSServices | |
Delphi
class function GetService<T: IInterface>: T;
C++
template<typename T> __classmethod T __fastcall GetService();
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.