ArrayHelperArraySortTwo(Object, Int32, ArrayHelperEnumSortType) 方法
二维数组排序 对指定关键字列排序
命名空间: Excel880VSTO程序集: Excel880VSTO (在 Excel880VSTO.dll 中) 版本:1.5.8.0 (1.5.8.0)
public static Array ArraySortTwo(
ref Object 来源数组,
int Key1,
ArrayHelperEnumSortType Sort1 = ArrayHelperEnumSortType.SortSheetASC
)
Public Shared Function ArraySortTwo (
ByRef 来源数组 As Object,
Key1 As Integer,
Optional Sort1 As ArrayHelperEnumSortType = ArrayHelperEnumSortType.SortSheetASC
) As Array
Dim 来源数组 As Object
Dim Key1 As Integer
Dim Sort1 As ArrayHelperEnumSortType
Dim returnValue As Array
returnValue = ArrayHelper.ArraySortTwo(来源数组,
Key1, Sort1)
- 来源数组 Object
- Key1 Int32
- Sort1 ArrayHelperEnumSortType (Optional)
Array