다음을 통해 공유


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

매개 변수

반환 값

유형: 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.