ArrayHelperReDimArrayPreserve(Object, Object, Object, Object, Object) 方法
重定义数组保留值 和VBA里一样重定义非零下标二维数组
命名空间: Excel880VSTO程序集: Excel880VSTO (在 Excel880VSTO.dll 中) 版本:1.5.8.0 (1.5.8.0)
public static void ReDimArrayPreserve(
ref Object 原数组,
Object 下标1,
Object 上标1,
Object 下标2,
Object 上标2
)
Public Shared Sub ReDimArrayPreserve (
ByRef 原数组 As Object,
下标1 As Object,
上标1 As Object,
下标2 As Object,
上标2 As Object
)
Dim 原数组 As Object
Dim 下标1 As Object
Dim 上标1 As Object
Dim 下标2 As Object
Dim 上标2 As Object
ArrayHelper.ReDimArrayPreserve(原数组, 下标1,
上标1, 下标2, 上标2)
参数
- 原数组 Object
-
- 下标1 Object
-
- 上标1 Object
-
- 下标2 Object
-
- 上标2 Object
-