Help Center

DSAFEARRAY.Removemethod

Deletes the specified array element.

COMmethodDSafeArray.incdocumented

Syntax

FUNCTION Remove (BYVAL nPos AS LONG) AS HRESULT

Parameters

NameDescription
nPosIndex of the array element which will be deleted.

Return value

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

Description

Removes the specified array element.

Reference

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