CComSafeArray::Detach

 

Detaches a SAFEARRAY from a CComSafeArray object.

Syntax

LPSAFEARRAY Detach( );

Return Value

Returns a pointer to a SAFEARRAY object.

Remarks

This method detaches the SAFEARRAY object from the CComSafeArray object.

Requirements

Header: atlsafe.h

See Also

CComSafeArray Class
CComSafeArray::Attach