Partager via


COleVariant::Clear

Clears the VARIANT.

void Clear( );

Remarks

This sets the VARTYPE for this object to VT_EMPTY. The COleVariant destructor calls this function.

For more information, see the VARIANT, VARTYPE, and VariantClear entries in the Windows SDK.

Requirements

Header: afxdisp.h

See Also

Reference

COleVariant Class

Hierarchy Chart

Other Resources

COleVariant Members