NullComparer<T> 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
假設每個專案相等的 Null 比較子。 這對於穩定排序特別有用。
public sealed class NullComparer<T> : System.Collections.Generic.IComparer<T>
type NullComparer<'T> = class
interface IComparer<'T>
Public NotInheritable Class NullComparer(Of T)
Implements IComparer(Of T)
類型參數
- T
- 繼承
-
NullComparer<T>
- 實作
-
IComparer<T>
欄位
Instance |
假設每個專案相等的 Null 比較子。 這對於穩定排序特別有用。 |
明確介面實作
IComparer<T>.Compare(T, T) |
假設每個專案相等的 Null 比較子。 這對於穩定排序特別有用。 |