help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Classes][Procedures and functions][Variables] Reference for unit 'sysutils' (#rtl)

Supports

Check whether a class or given interface supports an interface

Declaration

Source position: line 0

function Supports(

  const Instance: IInterface;

  const IID: TGUID;

  out Intf

):Boolean; overload;

function Supports(

  const Instance: TObject;

  const IID: TGUID;

  out Intf

):Boolean; overload;

function Supports(

  const Instance: IInterface;

  const IID: TGUID

):Boolean; overload;

function Supports(

  const Instance: TObject;

  const IID: TGUID

):Boolean; overload;

function Supports(

  const AClass: TClass;

  const IID: TGUID

):Boolean; overload;

Description

Supports checks whether Instance supports the interface identified by IID. It returns True if it is supported, False. Optionally, a pointer to the interface is returned to Intf.

Errors

None.

See also

StringToGUID

  

Convert a string to a native TGUID type.

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505