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

其上界已確定的維度。

傳回

dimension中 的thisob上界。

屬性

適用於

另請參閱