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: StringThe first configuration name.
configName2
Type: StringThe second configuration name.
Return Value
Type: Boolean
true if the two configuration names match; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.