Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the count of elements in the array.
Syntax
Parameters
pdwElements
[out] Returns the count.
Return Value
If successful, returns S_OK; otherwise, returns an error code.
Remarks
This method sees all of the elements of an array object as a one-dimensional array, even if the array object is multi-dimensional. For example, given the array myarray[3][2][6]
, this method would return 36 in the pdwElements
parameter. Use the GetElement method to retrieve the individual elements one at a time.