ArrayHelperDimArray(Object, Object, Object, Object) 方法
定义数组 和VBA里一样可定义非零下标二维数组 为object(,)
命名空间: Excel880VSTO程序集: Excel880VSTO (在 Excel880VSTO.dll 中) 版本:1.5.8.0 (1.5.8.0)
public static Object[,] DimArray(
Object 下标1,
Object 上标1,
Object 下标2,
Object 上标2
)
Public Shared Function DimArray (
下标1 As Object,
上标1 As Object,
下标2 As Object,
上标2 As Object
) As Object(,)
Dim 下标1 As Object
Dim 上标1 As Object
Dim 下标2 As Object
Dim 上标2 As Object
Dim returnValue As Object(,)
returnValue = ArrayHelper.DimArray(下标1,
上标1, 下标2, 上标2)
- 下标1 Object
-
- 上标1 Object
-
- 下标2 Object
-
- 上标2 Object
-
Object