Edit

Share via


IDebugArrayField::GetNumberOfElements

Gets the number of elements in the array.

Syntax

int GetNumberOfElements(
   out uint pdwNumElements
);

Parameters

pdwNumElements
[out] Returns the number of elements in the array.

Return Value

If successful, returns S_OK; otherwise, returns an error code.

Remarks

The value returned is the total number of elements in the array, regardless of the number of dimensions.

See also