Skip to main content
Table of Contents

TTMSFNCTollCostPlatformServices.SupportsPlatformService Method

Returns whether a service implementation is registered for the specified interface GUID.

API unit family: TMSFNCTollCost Declaring type: TTMSFNCTollCostPlatformServices

Overloads

Overload 1

Returns whether a service implementation is registered for the specified interface GUID.

FMX.TMSFNCTollCost.hppPascalC++
function SupportsPlatformService(const AServiceGUID: TGUID): Boolean; overload;
bool __fastcall SupportsPlatformService(const GUID &AServiceGUID)/* overload */;

Parameters

Name Description
AServiceGUID Interface GUID to query.

Returns

True when a matching service is registered; otherwise False.

Overload 2

Returns whether a service implementation is registered for the specified interface GUID.

FMX.TMSFNCTollCost.hppPascalC++
function SupportsPlatformService(const AServiceGUID: TGUID; var AService: IInterface): Boolean; overload;
bool __fastcall SupportsPlatformService(const GUID &AServiceGUID, System::_di_IInterface &AService)/* overload */;

Parameters

Name Description
AServiceGUID Interface GUID to query.

Returns

True when a matching service is registered; otherwise False.