Help Center
Help CenterAfxNova

DSafeArray.DeleteElementmethod

COMmethodDSafeArray.incundocumented
Not documented upstream. This symbol was found in the AfxNova source but appears in no documentation topic. The signature below is read directly from the code; any description comes from the source comments.

Syntax

PRIVATE FUNCTION DSafeArray.DeleteElement (BYVAL nPos AS LONG) AS HRESULT

Return value

S_OK Success. DISP_E_BADINDEX The specified index is not valid. E_INVALIDARG One of the arguments is not valid. E_OUTOFMEMORY Memory could not be allocated for the element. E_FAIL The item pointed to by m_psa is not a safe array descriptor. It is a fixed-size array. It is not a one-dimensional array.

Reference

  • Include file DSafeArray.inc
  • Defined in AfxNova/DSafeArray.inc:1991