Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
A RankException exception is thrown when an array with the wrong number of dimensions is passed to a method.
Make sure your array has the required number of dimensions.
For more information, Visual Basic users can see Array Dimensions in Visual Basic.For more information, C# users can see Arrays (C# Programming Guide).
Since array subscripts start at 0, the lowest available subscript for every dimension is always 0.
RankException
How to: Use the Exception Assistant
Arrays in Visual Basic