This documentation is archived and is not being maintained.

Array.Rank Property

Gets the rank (number of dimensions) of the Array.

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

Property Value

The rank (number of dimensions) of the Array.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework, Common Language Infrastructure (CLI) Standard

See Also

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