System.DelphiInterface.operator &

From RAD Studio API Documentation
Jump to: navigation, search

C++

T** __fastcall operator &()

Properties

Type Visibility Source Unit Parent
function public systobj.h System DelphiInterface

Description

Returns a pointer to the underlying interface pointer.

Use the & operator & to access the underlying interface pointer. operator & should be used with caution, because it provides no reference counting support. For example, when using this operator & to programmatically replace the underlying interface, you must first call Release to decrement the reference count of the current interface and, depending on whether you are using this as an additional interface reference, you may need to increment the reference count on the interface being added.