VBArrayPrototype.ubound(Object, Object) Method

Definition

Gets the upper bound of the specified dimension in the specified array.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 static int ubound(System::Object ^ thisob, System::Object ^ dimension);
[Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.VBArray_ubound)]
public static int ubound (object thisob, object dimension);
[<Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.VBArray_ubound)>]
static member ubound : obj * obj -> int
Public Shared Function ubound (thisob As Object, dimension As Object) As Integer

Parameters

thisob
Object

The object that this method is acting upon.

dimension
Object

The dimension whose upper bound is determined.

Returns

The upper bound of dimension in thisob.

Attributes

Applies to

See also