MSDN does know it for sure!
COleVariant:etach
So just pass in your xx instead of "functionDetach(xx)"!