ValueComparer<T>.GetHashCode Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetHashCode(Object) |
Returns the hash code for the given instance. |
GetHashCode(T) |
Returns the hash code for the given instance. |
GetHashCode(Object)
- Source:
- ValueComparer%60.cs
- Source:
- ValueComparer%60.cs
- Source:
- ValueComparer%60.cs
- Source:
- ValueComparer%60.cs
- Source:
- ValueComparer%60.cs
- Source:
- ValueComparer%60.cs
- Source:
- ValueComparer%60.cs
- Source:
- ValueComparer%60.cs
- Source:
- ValueComparer%60.cs
Returns the hash code for the given instance.
public override int GetHashCode (object instance);
public override int GetHashCode (object? instance);
override this.GetHashCode : obj -> int
Public Overrides Function GetHashCode (instance As Object) As Integer
Parameters
- instance
- Object
The instance.
Returns
The hash code.
Applies to
GetHashCode(T)
- Source:
- ValueComparer%60.cs
- Source:
- ValueComparer%60.cs
- Source:
- ValueComparer%60.cs
- Source:
- ValueComparer%60.cs
- Source:
- ValueComparer%60.cs
- Source:
- ValueComparer%60.cs
- Source:
- ValueComparer%60.cs
- Source:
- ValueComparer%60.cs
- Source:
- ValueComparer%60.cs
Returns the hash code for the given instance.
public virtual int GetHashCode (T instance);
override this.GetHashCode : 'T -> int
Public Overridable Function GetHashCode (instance As T) As Integer
Parameters
- instance
- T
The instance.
Returns
The hash code.
Implements
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework