ControlType.GetHashCode Method

This member overrides Object.GetHashCode, and more complete documentation might be available in that topic.

Hashcode of the ControlType

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

Syntax

'Declaration
Public Overrides Function GetHashCode As Integer
public override int GetHashCode()
public:
virtual int GetHashCode() override
abstract GetHashCode : unit -> int  
override GetHashCode : unit -> int
public override function GetHashCode() : int

Return Value

Type: Int32
Hashcode for the ControlType

Remarks

Overriden as equals is overriden. Hashcode is created based on the controls name

.NET Framework Security

See Also

Reference

ControlType Class

Microsoft.VisualStudio.TestTools.UITesting Namespace