ControlType.Equals Method

Determines whether the provided object is equal to this instance of the ControlType class.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

Syntax

'Declaration
Public Overrides Function Equals ( _
    other As Object _
) As Boolean
public override bool Equals(
    Object other
)
public:
virtual bool Equals(
    Object^ other
) override
abstract Equals : 
        other:Object -> bool  
override Equals : 
        other:Object -> bool
public override function Equals(
    other : Object
) : boolean

Parameters

  • other
    Type: Object

    An object that can be cast to a ControlType object.

Return Value

Type: Boolean
true if the provided object is equal to this instance; otherwise, false.

.NET Framework Security

See Also

Reference

ControlType Class

Microsoft.VisualStudio.TestTools.UITesting Namespace