Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
'Declaration
Public Shared Widening Operator CType ( _
name As String _
) As ControlType
public static implicit operator ControlType (
string name
)
static implicit operator ControlType^ (
String^ name
)
F# does not support the declaration of new casting operators.
JScript does not support the declaration of new casting operators.
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.
.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.