Share via


VBArrayPrototype.ubound(Object, Object) 方法

定義

取得指定陣列中指定之維度的上限。

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

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

參數

thisob
Object

這個方法執行位置的物件。

dimension
Object

上限已決定的維度。

傳回

dimensionthisob 的上限。

屬性

適用於

另請參閱