ArrayShape.Rank Property

Definition

Gets the number of dimensions in the array.

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

Property Value

The number of dimensions.

Applies to