[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Return an interface based on its GUID
Source position: objpash.inc line 245
public function TObject.GetInterfaceByStr( |
const iidstr: shortstring; |
out obj |
):Boolean; |
GetInterfaceByStr returns in obj a pointer to the interface identified by iidstr. The function returns True if the interface is indeed implemented by the class, or False otherwise.
The iidstr is the unique GUID by which the interface was declared.
The function returns false if the requested interface is not implemented.
|
Return the interface table entry by GUID |
|
|
Return the interface table entry by string |