IDebugArrayObject::GetRank

Gets the rank of the array, that is, the number of dimensions.

Syntax

int GetRank(
   out uint pdwRank
);

Parameters

pdwRank
[out] Returns the rank.

Return Value

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

Remarks

Use the GetDimensions method to retrieve the size of each dimension of the array object.

See also