SearchConfiguration.NameEquals Method

Returns a value that indicates whether the two configuration names 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 NameEquals ( _
    configName1 As String, _
    configName2 As String _
) As Boolean
public static bool NameEquals(
    string configName1,
    string configName2
)
public:
static bool NameEquals(
    String^ configName1, 
    String^ configName2
)
static member NameEquals : 
        configName1:string * 
        configName2:string -> bool
public static function NameEquals(
    configName1 : String, 
    configName2 : String
) : boolean

Parameters

  • configName1
    Type: String

    The first configuration name.

  • configName2
    Type: String

    The second configuration name.

Return Value

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

.NET Framework Security

See Also

Reference

SearchConfiguration Class

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace