NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Array.Rank

Gets the rank, or number of dimensions, in the Array.

[Visual Basic]
Public ReadOnly Property Rank As Integer
[C#]
public int Rank {get;}
[C++]
public: __property int get_Rank();
[JScript]
public function get Rank() : int;

Property Value

The rank, or number of dimensions, in the Array.

Remarks

Jagged arrays, defined as Type [][]...[], are considered to be arrays of arrays; therefore, calling Rank on a jagged array always returns 1.

See Also

Array Class | Array Members | System Namespace | Length | GetLength