Array.IStructuralEquatable.GetHashCode(IEqualityComparer) Method (System) (original) (raw)

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.

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