Share via


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

See Also

Reference

CComVariant Class