CComVariant::Clear
Clears the CComVariant object by calling the VariantClear Win32 function.
HRESULT Clear( );
Return Value
A standard HRESULT value.
Remarks
The destructor automatically calls Clear.
Requirements
Header: atlcomcli.h
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Clears the CComVariant object by calling the VariantClear Win32 function.
HRESULT Clear( );
A standard HRESULT value.
The destructor automatically calls Clear.
Header: atlcomcli.h