Name
UBound Function — Microsoft.VisualBasic.Information
Synopsis
UBound(array
[,rank
])
array
required; AnyThe name of the array
rank
optional; IntegerA number specifying the dimension of the array; if omitted, its value defaults to 1
Return Value
Integer; returns -1 if the array is uninitialized
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.
Get VB.NET Language Pocket Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.