Compartilhar via


IDebugArrayObject::GetRank

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

HRESULT GetRank( 
   DWORD* pdwRank
);
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 IDebugArrayObject::GetDimensions method to retrieve the size of each dimension of the array object.

See Also

Reference

IDebugArrayObject