[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 GetHashCodeOrdSenseCase
Namespace: NFXAssembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
public static bool EqualsOrdSenseCase(
this string lhs,
string rhs
)
public static bool EqualsOrdSenseCase(
this string lhs,
string rhs
)
<ExtensionAttribute>
Public Shared Function EqualsOrdSenseCase (
lhs As String,
rhs As String
) As Boolean
<ExtensionAttribute>
Public Shared Function EqualsOrdSenseCase (
lhs As String,
rhs As String
) As Boolean
public:
[ExtensionAttribute]
static bool EqualsOrdSenseCase(
String^ lhs,
String^ rhs
)
public:
[ExtensionAttribute]
static bool EqualsOrdSenseCase(
String^ lhs,
String^ rhs
)
static member EqualsOrdSenseCase :
lhs : string *
rhs : string -> bool
static member EqualsOrdSenseCase :
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).