COleSafeArray::Clear

Call this member function to clear the safe array. The function clears a safe array by setting the VARTYPE of the object to VT_EMPTY. The current contents are released and the array is freed.

Syntax

void Clear( );

At a Glance

Header file: Afxdisp.h
Platforms:
Versions: 2.0 and later
Complete documentation: Visual C++ documentation

See Also

COleSafeArray Overview, COleSafeArray Member Functions, Structures, VariantClear, VARTYPE