Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
Determines whether the provided name and the value of the Name property are equal.
Namespace: Microsoft.VisualStudio.TestTools.UITesting
Assembly: Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)
'Declaration
Public Function NameEquals ( _
controlName As String _
) As Boolean
public bool NameEquals(
string controlName
)
public:
bool NameEquals(
String^ controlName
)
member NameEquals :
controlName:string -> bool
public function NameEquals(
controlName : String
) : boolean
- controlName
Type: System.String
The name to compare.
Type: System.Boolean
true if the provided name is equal to the Name property value; otherwise, false.
- 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.
Microsoft.VisualStudio.TestTools.UITesting Namespace
Equals()