VARIANT Detach( );
Return Value
The underlying VARIANT value in the COleSafeArray object.
Remarks
Call this function to detach the VARIANT data from the COleSafeArray object. The function detaches the data in a safe array by setting the VARTYPE of the object to VT_EMPTY. It is the caller's responsibility to free the array by calling the Windows function VariantClear.
On error, the function throws a COleException.
COleSafeArray Overview | Class Members | Hierarchy Chart
See Also COleSafeArray::Attach, VariantClear