COleVariant::Attach

void Attach( VARIANT& varSrc );

Parameters

varSrc

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

Remarks

Call this function to attach the given VARIANT object to the current COleVariant object. This function sets the VARTYPE of varSrc to VT_EMPTY.

For more information, see the VARIANT and VARTYPE entries in the Win32 SDK OLE Programmer’s Reference.

COleVariant OverviewClass MembersHierarchy Chart

See Also   COleVariant::operator LPCVARIANT, COleVariant::operator LPVARIANT