Expand Minimize
This topic has not yet been rated - Rate this topic

IDiaSymbol::get_rank

Retrieves the rank (number of dimensions) of a FORTRAN multi-dimensional array.

HRESULT get_rank ( 
   DWORD* pRetVal
);
pRetVal

[out] Returns the number of dimensions in a FORTRAN multi-dimensional array.

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

Note Note

A return value of S_FALSE means the property is not available for the symbol.

Rank refers to the number of dimensions in an array where the array is declared as myarray[1,2,3]. This example has a rank of 3 and 3 dimensions. Rank does not apply to C++ which uses the concept of an array of arrays for each dimension (that is, myarray[1][2][3]).

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.