COleSafeArray::Clear

This method clears the safe array by setting the VARTYPE of the object to VT_EMPTY. The current contents are released and the array is freed.

At a Glance

Header file: Afxdisp.h
Platforms: H/PC 2.0, H/PC Pro
Windows CE versions: 2.0 and later
Complete documentation: Visual C++ documentation

Syntax

void Clear( );

See Also

VariantClear, VARTYPE