DSAFEARRAY.Countmethod
Returns the number of elements in the specified dimension of the array.
Syntax
FUNCTION Count (BYVAL nDim AS UINT = 1) AS UINT
Return value
S_OK (0) on success or an HREUSLT code on failure.
Description
Returns the number of elements in the specified dimension of the array.
The optional nDim parameter is the array dimension for which to get the number of elements. You don't need to pass this parameter if the safe array in one-dimensional.
Reference
- Include file
DSafeArray.inc - Defined in AfxNova/DSafeArray.inc:706
- Documented in COM/DSAFEARRAY Class.md
- Topic: DSAFEARRAY Class