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



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

TObject.GetInterface

Return a reference to an interface

Declaration

Source position: objpash.inc line 183

public function TObject.GetInterface(

  const iid: TGuid;

  out obj

):Boolean;

Description

GetInterface scans the interface tables and returns a reference to the interface iid. The reference is stored in Obj which should be an interface reference. It returns True if the interface was found, False if not.

The reference count of the interface is increased by this call.

Errors

If no interface was found, False is returned.

See also

GetInterfaceByStr

  

Notes

 No notes exist for this page yet. 





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