Condividi tramite


Metodo Helper.CompareArrays

Compares two arrays.

Spazio dei nomi  Microsoft.SqlServer.Dts.Tasks.WebServiceTask
Assembly:  Microsoft.SqlServer.WebServiceTask (in Microsoft.SqlServer.WebServiceTask.dll)

Sintassi

'Dichiarazione
Public Shared Function CompareArrays ( _
    a As Object(), _
    b As Object() _
) As Boolean
'Utilizzo
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

Parametri

  • a
    Tipo: array<System.Object[]
    The first array to have in the comparison.
  • b
    Tipo: array<System.Object[]
    The second array that you want to compare to the first.

Valore restituito

Tipo: System.Boolean
true if both arrays are nullriferimento Null (Nothing in Visual Basic).; false is returned if either array is nullriferimento Null (Nothing in Visual Basic)., their lengths are different, or an element in one is different that the matching element in the other array.

Vedere anche

Riferimento

Helper Classe

Spazio dei nomi Microsoft.SqlServer.Dts.Tasks.WebServiceTask