Array.IStructuralEquatable.GetHashCode(IEqualityComparer) Method

Definition

Returns a hash code for the current instance.

 virtual int System.Collections.IStructuralEquatable.GetHashCode(System::Collections::IEqualityComparer ^ comparer) = System::Collections::IStructuralEquatable::GetHashCode;
int IStructuralEquatable.GetHashCode (System.Collections.IEqualityComparer comparer);
abstract member System.Collections.IStructuralEquatable.GetHashCode : System.Collections.IEqualityComparer -> int
override this.System.Collections.IStructuralEquatable.GetHashCode : System.Collections.IEqualityComparer -> int
Function GetHashCode (comparer As IEqualityComparer) As Integer Implements IStructuralEquatable.GetHashCode

Parameters

comparer
IEqualityComparer

An object that computes the hash code of the current object.

Returns

The hash code for the current instance.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the Array instance is cast to an IStructuralEquatable interface.

Applies to