Export (0) Print
Expand All
Expand Minimize

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]).

Show:
© 2014 Microsoft