[This is preliminary documentation and is subject to change.]
Helper function that performs case-insensitive GetHashcode for string using ordinal comparison.
Use this in conjunction with EqualsOrdIgnoreCase
Namespace: NFXAssembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
public static int GetHashCodeOrdIgnoreCase(
this string str
)
public static int GetHashCodeOrdIgnoreCase(
this string str
)
<ExtensionAttribute>
Public Shared Function GetHashCodeOrdIgnoreCase (
str As String
) As Integer
<ExtensionAttribute>
Public Shared Function GetHashCodeOrdIgnoreCase (
str As String
) As Integer
public:
[ExtensionAttribute]
static int GetHashCodeOrdIgnoreCase(
String^ str
)
public:
[ExtensionAttribute]
static int GetHashCodeOrdIgnoreCase(
String^ str
)
static member GetHashCodeOrdIgnoreCase :
str : string -> int
static member GetHashCodeOrdIgnoreCase :
str : string -> int
Return Value
Type:
Int32Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
String. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).