The getUBound method of the SafeArray Class contains the following signatures:
getUBound()
getUBound(int dim)
Returns the largest valid index of the array's first dimension. This method is identical to the Microsoft® Visual Basic® UBound function.
public int getUBound();
Returns the largest valid index.
Retrieves the largest valid index of an arbitrary dimension. (Dimensions are numbered starting with 1.) This method is identical to the Visual Basic UBound function.
public int getUBound(int dim);
Returns the largest valid index.
dim | The dimension. |