Share via


IArrayTypeSymbol.Rank Property

Definition

Gets the number of dimensions of this array. A regular single-dimensional array has rank 1, a two-dimensional array has rank 2, etc.

public:
 property int Rank { int get(); };
public int Rank { get; }
member this.Rank : int
Public ReadOnly Property Rank As Integer

Property Value

Applies to