語言

CaseInsensitiveHashCodeProvider.DefaultInvariant 屬性

定義

會得到一個與CaseInsensitiveHashCodeProvider相關聯且隨時可用的實例InvariantCulture。

public:
 static property System::Collections::CaseInsensitiveHashCodeProvider ^ DefaultInvariant { System::Collections::CaseInsensitiveHashCodeProvider ^ get(); };
public static System.Collections.CaseInsensitiveHashCodeProvider DefaultInvariant { get; }
static member DefaultInvariant : System.Collections.CaseInsensitiveHashCodeProvider
Public Shared ReadOnly Property DefaultInvariant As CaseInsensitiveHashCodeProvider

屬性值

其中一個 CaseInsensitiveHashCodeProvider 例子與 InvariantCulture相關聯。

備註

比較程序利用 來 CultureInfo.InvariantCulture 決定套管規則。 雜湊碼比較可能會因文化不同而有不同的結果。 欲了解更多文化特定比較資訊,請參閱 System.Globalization 命名空間及 全球化與在地化。

適用於

另請參閱