VBArrayPrototype::ubound Method (Object^, Object^)

 

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

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

Namespace:   Microsoft.JScript
Assembly:  Microsoft.JScript (in Microsoft.JScript.dll)

public:
[JSFunctionAttribute(JSFunctionAttributeEnum::HasThisObject, 
	JSBuiltin::VBArray_ubound)]
static int ubound(
	Object^ thisob,
	Object^ dimension
)

Parameters

thisob
Type: System::Object^

The object that this method is acting upon.

dimension
Type: System::Object^

The dimension whose upper bound is determined.

Return Value

Type: System::Int32

The upper bound of dimension in thisob.

.NET Framework
Available since 1.1
Return to top
Show: