Bewerken

Share via


TypeName.GetArrayRank Method

Definition

Gets the number of dimensions in an array.

public:
 int GetArrayRank();
public int GetArrayRank ();
member this.GetArrayRank : unit -> int
Public Function GetArrayRank () As Integer

Returns

An integer that contains the number of dimensions in the current type.

Exceptions

The current type is not an array.

Applies to