Bewerken

Share via


ImmutableHashSet<T>.KeyComparer Property

Definition

Gets the object that is used to obtain hash codes for the keys and to check the equality of values in the immutable hash set.

public:
 property System::Collections::Generic::IEqualityComparer<T> ^ KeyComparer { System::Collections::Generic::IEqualityComparer<T> ^ get(); };
public System.Collections.Generic.IEqualityComparer<T> KeyComparer { get; }
member this.KeyComparer : System.Collections.Generic.IEqualityComparer<'T>
Public ReadOnly Property KeyComparer As IEqualityComparer(Of T)

Property Value

The comparer used to obtain hash codes for the keys and check equality.

Applies to