ImmutableHashSet<T>.KeyComparer 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得 對象,這個物件用來取得索引鍵的哈希碼,並檢查不可變哈希集中的值是否相等。
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)
屬性值
比較器用於取得金鑰的雜湊碼並檢查相等性。