LEADTOOLS Multimedia (Leadtools.Multimedia assembly) Send comments on this topic. | Back to Introduction | Help Version 17.0.3.22
GetHashCode Method
See Also 
Leadtools.Multimedia Namespace > Device Class : GetHashCode Method



Serves as a hash function for a particular type.

Syntax

Visual Basic (Declaration) 
Overrides Public Function GetHashCode() As Integer
Visual Basic (Usage)Copy Code
Dim instance As Device
Dim value As Integer
 
value = instance.GetHashCode()
C# 
public override int GetHashCode()
C++/CLI 
public:
int GetHashCode(); override 

Return Value

a numeric value that identifies an object.

Remarks

A hash code is a numeric value that is used to identify an object during equality testing. It can also serve as an index for an object in a collection. The GetHashCode method is suitable for use in hashing algorithms and data structures such as a hash table.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also