ArrayHelperArraySortTwo(Object, Int32, ArrayHelperEnumSortType, Int32, ArrayHelperEnumSortType) 方法
二维数组排序 2列关键字 优先级从前往后
命名空间: Excel880VSTO程序集: Excel880VSTO (在 Excel880VSTO.dll 中) 版本:1.5.8.0 (1.5.8.0)
public static Array ArraySortTwo(
ref Object 来源数组,
int Key1,
ArrayHelperEnumSortType Sort1,
int Key2,
ArrayHelperEnumSortType Sort2
)
Public Shared Function ArraySortTwo (
ByRef 来源数组 As Object,
Key1 As Integer,
Sort1 As ArrayHelperEnumSortType,
Key2 As Integer,
Sort2 As ArrayHelperEnumSortType
) As Array
Dim 来源数组 As Object
Dim Key1 As Integer
Dim Sort1 As ArrayHelperEnumSortType
Dim Key2 As Integer
Dim Sort2 As ArrayHelperEnumSortType
Dim returnValue As Array
returnValue = ArrayHelper.ArraySortTwo(来源数组,
Key1, Sort1, Key2, Sort2)
- 来源数组 Object
- Key1 Int32
- Sort1 ArrayHelperEnumSortType
- Key2 Int32
- Sort2 ArrayHelperEnumSortType
Array