CComSafeArray::Detach

Detaches a SAFEARRAY from a CComSafeArray object.

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

Concepts

CComSafeArray Class

CComSafeArray Members

CComSafeArray::Attach