Help Center

DSAFEARRAY.ElemSizemethod

Returns the size of an element.

COMmethodDSafeArray.incdocumented

Syntax

FUNCTION ElemSize () AS UINT

Return value

Returns the size (in bytes) of an element in a safe array. Does not include size of pointed-to data.

Description

Returns the size of an element.

Reference

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