VB.NET Language in a Nutshell

   
UBound Function

Class

Microsoft.VisualBasic.Information

Syntax

UBound( array [, rank ])

array (required; any)

The name of the array

rank (optional; Integer)

A number specifying the dimension of the array

Return Value

Integer

Description

Indicates the upper limit of a specified coordinate of an array. The upper boundary is the largest subscript you can use with that coordinate.

Rules at a Glance

Programming Tips and Gotchas

   

Категории