This method detaches the underlying VARIANT object from this COleVariant object. This method sets the VARTYPE for this COleVariant object to VT_EMPTY. After calling Detach, it is the caller's responsibility to call VariantClear on the resulting VARIANT structure.
Header file: | Afxdisp.h |
Platforms: | H/PC 2.0, H/PC Pro |
Windows CE versions: | 2.0 and later |
Complete documentation: | Visual C++ documentation |
VARIANT Detach( );
VariantClear, VARIANT, VARTYPE