EMS.Services.TEMSServices.TryGetService

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

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

Properties

Type Visibility Source Unit Parent
function public
EMS.Services.pas
EMS.Services.hpp
EMS.Services TEMSServices

Description

Fills Intf with an object interface of the specified service interface and returns True on success, or False if the EMS Server does not support the target service.

T may be any of the service interfaces of the EMS.Services unit.

See Also