Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Detaches the underlying VARIANT from the CComVariant object and sets the object's type to VT_EMPTY.
HRESULT Detach(
VARIANT* pDest
);
Parameters
- pDest
[out] Returns the underlying VARIANT value of the object.
Return Value
A standard HRESULT value.
Remarks
Note that the contents of the VARIANT referenced by pDest will automatically be cleared before being assigned the value and type of the calling CComVariant object.
Requirements
Header: atlcomcli.h