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
參數
- a
型別:array<System. . :: . .Object> [] () [] []
The first array to have in the comparison.
- 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.