Help Center

DSAFEARRAY.Erasemethod

Like DestroyData, destroys all the data in a safe array. It is the same as Clear and Reset.

COMmethodDSafeArray.incdocumented

Syntax

FUNCTION DestroyData () AS HRESULT
Also documented as Clear, DestroyData, Reset — one description covers them all.

Return value

S_OK (0) on success or an HREUSLT code on failure.

Description

Destroys all the data in a safe array.

Reference

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