Help Center

DSAFEARRAY.Destroymethod

Destroys an existing array descriptor and all of the data in the array.

COMmethodDSafeArray.incdocumented

Syntax

FUNCTION Destroy () AS HRESULT

Return value

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

Description

Destroys an existing array descriptor and all of the data in the array. If objects are stored in the array, Release is called on each object in the array.

Reference

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