COleSafeArray::Detach

This method detaches the VARIANT array from the COleSafeArray object so that the data will not be 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

VARIANT Detach( );

See Also

COleSafeArray::Attach, VariantClear, VARIANT