Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ControlType Implicit Conversion (String^ to ControlType^)

 
equivalentCodeEntity

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 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.

Return to top
Show: