[This is preliminary documentation and is subject to change.]
Helper function that performs case-insensitive comparison between strings using ordinal comparison.
Either lhs and rhs can be null.
Use this in conjunction with GetHashCodeOrdIgnoreCase
Namespace: NFXAssembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
public static bool EqualsOrdIgnoreCase(
this string lhs,
string rhs
)
public static bool EqualsOrdIgnoreCase(
this string lhs,
string rhs
)
<ExtensionAttribute>
Public Shared Function EqualsOrdIgnoreCase (
lhs As String,
rhs As String
) As Boolean
<ExtensionAttribute>
Public Shared Function EqualsOrdIgnoreCase (
lhs As String,
rhs As String
) As Boolean
public:
[ExtensionAttribute]
static bool EqualsOrdIgnoreCase(
String^ lhs,
String^ rhs
)
public:
[ExtensionAttribute]
static bool EqualsOrdIgnoreCase(
String^ lhs,
String^ rhs
)
static member EqualsOrdIgnoreCase :
lhs : string *
rhs : string -> bool
static member EqualsOrdIgnoreCase :
lhs : string *
rhs : string -> bool
Return Value
Type:
BooleanUsage 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).