ShlwApiStrCmpLogicalW Method
Compares two Unicode strings. Digits in the strings are considered as numerical content rather than text.
This test is not case-sensitive.
Namespace: DevCase.Win32.NativeMethodsAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("ShlwApi.dll", CharSet = CharSet.Unicode, ExactSpelling = true)]
public static int StrCmpLogicalW(
string first,
string second
)
<DllImportAttribute("ShlwApi.dll", CharSet := CharSet.Unicode, ExactSpelling := true>]
Public Shared Function StrCmpLogicalW (
first As String,
second As String
) As Integer
Dim first As String
Dim second As String
Dim returnValue As Integer
returnValue = ShlwApi.StrCmpLogicalW(first,
second)
public:
[DllImportAttribute(L"ShlwApi.dll", CharSet = CharSet::Unicode, ExactSpelling = true)]
static int StrCmpLogicalW(
String^ first,
String^ second
)
[<DllImportAttribute("ShlwApi.dll", CharSet = CharSet.Unicode, ExactSpelling = true)>]
static member StrCmpLogicalW :
first : string *
second : string -> int
No code example is currently available or this language may not be supported.
- first String
-
The first Unicode string to be compared.
- second String
-
The second Unicode string to be compared.
Int32
- Returns zero if the strings are identical.
(This value can be casted as:
DevCase.Code.Application.ComparerResult.Equals)
- Returns 1 if the string pointed to by 'first' has a greater value than that pointed to by 'second'.
(This value can be casted as:
DevCase.Code.Application.ComparerResult.GreaterThan)
- Returns -1 if the string pointed to by 'first' has a lesser value than that pointed to by 'second'.
(This value can be casted as:
DevCase.Code.Application.ComparerResult.LessThan)