Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gives control of the data in an existing VARIANT array to the COleSafeArray object.
void Attach(
VARIANT& varSrc
);
Parameters
- varSrc
A VARIANT object. The varSrc parameter must have the VARTYPEVT_ARRAY.
Remarks
The source VARIANT's type is set to VT_EMPTY. This function clears the current array data, if any.
Example
See the example for COleSafeArray::AccessData.
Requirements
Header: afxdisp.h