Equatable. Get Hash Code(IEqualityComparer) Method
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.
Returns a hash code for the current instance.
public: int GetHashCode(System::Collections::IEqualityComparer ^ comparer);
public int GetHashCode (System.Collections.IEqualityComparer comparer);
abstract member GetHashCode : System.Collections.IEqualityComparer -> int
Public Function GetHashCode (comparer As IEqualityComparer) As Integer
An object that computes the hash code of the current object.
The hash code for the current instance.
Implement this method to return customized hash codes for collection objects that correspond to the customized comparison for structural equality provided by the Equals method.