Help Center

DSAFEARRAY.Clearmethod

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

COMmethodDSafeArray.incdocumented

Syntax

FUNCTION DestroyData () AS HRESULT
Also documented as DestroyData, Erase, 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:983
  • Documented in COM/DSAFEARRAY Class.md
  • Topic: DSAFEARRAY Class