Share via


UITestControl.GetHashCode Method

Returns a unique value that represents the current UITestControl instance.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.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
A unique value that represents the current UITestControl instance.

.NET Framework Security

See Also

Reference

UITestControl Class

Microsoft.VisualStudio.TestTools.UITesting Namespace