IDebugArrayObject::GetDimensions
Gets the dimensions of the array.
HRESULT GetDimensions(
DWORD dwCount,
DWORD dwDimensions[]
);
int GetDimensions(
[In] uint dwCount,
[Out] uint[] dwDimensions
);
Parameters
dwCount
[in] The number of dimensions to retrieve.dwDimensions
[in, out] An array that is filled in with the sizes of each dimension. dwCount specifies the maximum size of the dwDimensions array.
Return Value
If successful, returns S_OK; otherwise, returns an error code.
Remarks
A multi-dimensional array can have different sizes for each dimension. For example, given the three-dimensional array myarray[3][2][6], this method would return 3, 2, and 6 in the dwDimensions parameter in that order.