Unit 'System' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

TObject.GetInterfaceWeak

Get a reference to an interface, not increasing the reference count.

Declaration

Source position: objpash.inc line 298

public function TObject.GetInterfaceWeak(

  const iid: TGuid;

  out obj

):Boolean;

Description

GetInterfaceWeak performs the same function as Getinterface, but unlike the latter, it will not increase the reference count of the interface.

See also

TObject.GetInterface

  

Return a reference to an interface.


Documentation generated on: Oct 27 2024