CompareArrays 方法

Compares two arrays.

命名空间:  Microsoft.SqlServer.Dts.Tasks.WebServiceTask
程序集:  Microsoft.SqlServer.WebServiceTask(在 Microsoft.SqlServer.WebServiceTask.dll 中)

语法

声明
Public Shared Function CompareArrays ( _
    a As Object(), _
    b As Object() _
) As Boolean
用法
Dim a As Object()
Dim b As Object()
Dim returnValue As Boolean

returnValue = Helper.CompareArrays(a, _
    b)
public static bool CompareArrays(
    Object[] a,
    Object[] b
)
public:
static bool CompareArrays(
    array<Object^>^ a, 
    array<Object^>^ b
)
static member CompareArrays : 
        a:Object[] * 
        b:Object[] -> bool 
public static function CompareArrays(
    a : Object[], 
    b : Object[]
) : boolean

参数

  • b
    类型:array<System. . :: . .Object> [] () [] []
    The second array that you want to compare to the first.

返回值

类型:System. . :: . .Boolean
true if both arrays are nullNothingnullptrunitnull 引用(在 Visual Basic 中为 Nothing); false is returned if either array is nullNothingnullptrunitnull 引用(在 Visual Basic 中为 Nothing), their lengths are different, or an element in one is different that the matching element in the other array.