Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ControlType Implicit Conversion (String to ControlType)

Provides an implicit operator for comparing the provided name with a control type object.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)
public static implicit operator ControlType (
	string name


Type: System.String
A control type name to compare with the Name property.

Return Value

Type: Microsoft.VisualStudio.TestTools.UITesting.ControlType
true if the provided name is equal to the Name property of this control object; otherwise, false.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.