[Overview][Constants][Types][Classes][Procedures and functions][Variables] |
Return a reference to an interface
Source position: objpash.inc line 157
public function TObject.GetInterface( |
const iid: TGuid; |
out obj |
):Boolean; |
GetInterfacescans the interface tables and returns a reference to the interface iid. The reference is stored in Objwhich should be an interface reference. It returns Trueif the interface was found, Falseif not.
The reference count of the interface is increased by this call.
If no interface was found, Falseis returned.
|