Condividi tramite


COleVariant::Attach

Call this function to attach the given VARIANT object to the current COleVariant object.

void Attach(
   VARIANT& varSrc 
);

Parameters

  • varSrc
    An existing VARIANT object to be attached to the current COleVariant object.

Remarks

This function sets the VARTYPE of varSrc to VT_EMPTY.

For more information, see the VARIANT and VARTYPE entries in the Windows SDK.

Requirements

Header: afxdisp.h

See Also

Reference

COleVariant Class

Hierarchy Chart

COleVariant::operator LPCVARIANT

COleVariant::operator LPVARIANT

Other Resources

COleVariant Members