Partager via


SearchConfiguration.AreEqual Method

Returns a value that indicates whether two configuration lists match.

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

Syntax

'Declaration
Public Shared Function AreEqual ( _
    configList As String(), _
    configListToMatch As String() _
) As Boolean
public static bool AreEqual(
    string[] configList,
    string[] configListToMatch
)
public:
static bool AreEqual(
    array<String^>^ configList, 
    array<String^>^ configListToMatch
)
static member AreEqual : 
        configList:string[] * 
        configListToMatch:string[] -> bool
public static function AreEqual(
    configList : String[], 
    configListToMatch : String[]
) : boolean

Parameters

  • configList
    Type: array<String[]

    An array of string values that represent a configuration list.

  • configListToMatch
    Type: array<String[]

    An array of string values that represent a configuration list to compare with the configList value.

Return Value

Type: Boolean
true if the two lists match; otherwise, false.

.NET Framework Security

See Also

Reference

SearchConfiguration Class

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace