COleSafeArray::Detach

Call this member function to detach the VARIANT array from the COleSafeArray object (so that the data will not be freed).

Syntax

VARIANT Detach( );

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, COleSafeArray::Attach, VariantClear, VARIANT