Help Center

DSAFEARRAY.RemoveVarmethod

COMmethodDSafeArray.incdocumented

Syntax

FUNCTION RemoveVar (BYVAL nPos AS LONG) AS HRESULT
Also documented as Remove — one description covers them all.

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:2096
  • Documented in COM/DSAFEARRAY Class.md
  • Topic: DSAFEARRAY Class