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 命名空间 和全球化和本地化

适用于

另请参阅