Help Center

DSAFEARRAY.Detachmethod

Detaches the sage array descriptor from the DSAFEARRAY.

COMmethodDSafeArray.incdocumented

Syntax

FUNCTION Detach () AS SAFEARRAY PTR

Return value

Returns a pointer to a SAFEARRAY descriptor.

Description

Detaches the safe array descriptor from the DSAFEARRAY.

Remarks

The caller takes ownership of it and must destroy it when no longer needed.

Reference

  • Include file DSafeArray.inc
  • Defined in AfxNova/DSafeArray.inc:1080
  • Documented in COM/DSAFEARRAY Class.md
  • Topic: DSAFEARRAY Class