Call this member function to give control of the existing VARIANT array to the COleSafeArray object.
void Attach( VARIANT& varSrc );
Header file: | Afxdisp.h |
Platforms: | |
Versions: | 2.0 and later |
Complete documentation: | Visual C++ documentation |
COleSafeArray Overview, COleSafeArray Member Functions, Structures, COleSafeArray::Detach, VARIANT