Partilhar via


Método CompareArrays

Compares two arrays.

Namespace:  Microsoft.SqlServer.Dts.Tasks.WebServiceTask
Assembly:  Microsoft.SqlServer.WebServiceTask (em Microsoft.SqlServer.WebServiceTask.dll)

Sintaxe

'Declaração
Public Shared Function CompareArrays ( _
    a As Object(), _
    b As Object() _
) As Boolean
'Uso
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

Parâmetros

Valor de retorno

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