Partager via


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

Reference

CComSafeArray Class

CComSafeArray::Attach

Other Resources

CComSafeArray Members