Help Center
Help CenterAfxNova

DSafeArray.AppendElementmethod

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.AppendElement (BYVAL pData AS ANY PTR) AS HRESULT
PRIVATE FUNCTION DSafeArray.AppendElement (BYREF bsData AS BSTRING) AS HRESULT
PRIVATE FUNCTION DSafeArray.AppendElement (BYREF dvData AS DVARIANT) AS HRESULT
PRIVATE FUNCTION DSafeArray.AppendElement (BYVAL vData AS VARIANT) 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:1594