Partager via


CompareArrays méthode

Compares two arrays.

Espace de noms :  Microsoft.SqlServer.Dts.Tasks.WebServiceTask
Assembly :  Microsoft.SqlServer.WebServiceTask (dans Microsoft.SqlServer.WebServiceTask.dll)

Syntaxe

'Déclaration
Public Shared Function CompareArrays ( _
    a As Object(), _
    b As Object() _
) As Boolean
'Utilisation
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

Paramètres

Valeur de retour

Type : System. . :: . .Boolean
true if both arrays are nullNothingnullptrunitune référence Null (Nothing dans Visual Basic); false is returned if either array is nullNothingnullptrunitune référence Null (Nothing dans Visual Basic), their lengths are different, or an element in one is different that the matching element in the other array.