次の方法で共有


IDiaSymbol::get_rank

[Note: This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

[このトピックはプレリリース版のため将来変更される可能性があります。また、プレースホルダとしてブランクのトピックが含まれています。]

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

HRESULT get_rank ( 
   DWORD* pRetVal
);

Parameters

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

Return Value

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

注意

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


Remarks

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

See Also

IDiaSymbol