Call this member function to detach the VARIANT array from the COleSafeArray object (so that the data will not be freed).
VARIANT Detach( );
| Header file: | Afxdisp.h |
| Platforms: | |
| Versions: | 2.0 and later |
| Complete documentation: | Visual C++ documentation |
COleSafeArray Overview, COleSafeArray Member Functions, Structures, COleSafeArray::Attach, VariantClear, VARIANT