Export (0) Print
Expand All

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
)

Parameters

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.

Community Additions

ADD
Show:
© 2014 Microsoft