| ConditionMethodsEquals2 Method (String, String, Boolean) |
Compares two strings for equality.
Namespace:
NLog.Conditions
Assembly:
NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax public static bool Equals2(
string firstValue,
string secondValue,
bool ignoreCase = false
)
Public Shared Function Equals2 (
firstValue As String,
secondValue As String,
Optional ignoreCase As Boolean = false
) As Boolean
Dim firstValue As String
Dim secondValue As String
Dim ignoreCase As Boolean
Dim returnValue As Boolean
returnValue = ConditionMethods.Equals2(firstValue,
secondValue, ignoreCase)
static member Equals2 :
firstValue : string *
secondValue : string *
?ignoreCase : bool
(* Defaults:
let _ignoreCase = defaultArg ignoreCase false
*)
-> bool
Parameters
- firstValue
- Type: SystemString
The first string. - secondValue
- Type: SystemString
The second string. - ignoreCase (Optional)
- Type: SystemBoolean
Optional. If true, case is ignored; if false (default), case is significant.
Return Value
Type:
Booleantrue when two strings are equal,
false otherwise.
See Also