UID | title | description | tech.root | helpviewer_keywords | ms.assetid | ms.date | ms.keywords | targetos | req.assembly | req.construct-type | req.ddi-compliance | req.dll | req.header | req.idl | req.include-header | req.irql | req.kmdf-ver | req.lib | req.max-support | req.namespace | req.redist | req.target-min-winverclnt | req.target-min-winversvr | req.target-type | req.type-library | req.umdf-ver | req.unicode-ansi | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:chstring.operator-less-than |
operator< |
The chstring.operator-less-than function compares two strings. These operators are a convenient substitute for the case-sensitive Compare method. |
wmi |
|
bc9b4545-b2a2-48b0-b650-d048860d1386 |
08/10/2022 |
operator< |
Windows |
function |
chstring.h |
|
|
|
|
|
[The CHString class is part of the WMI Provider Framework which is now considered in final state, and no further development, enhancements, or updates will be available for non-security related issues affecting these libraries. The MI APIs should be used for all new development.]
The CHString comparison operators compare two strings. These operators are a convenient substitute for the case-sensitive Compare method.
Reference to the CHString to the left of the operator for this comparison.
Reference to the CHString to the right of the operator for this comparison.
If the strings meet the comparison condition, the operators return a nonzero value. Otherwise, 0 is returned.
The following code example shows the use of a CHString Comparison Operator:
CHString s1( L"abc" );
CHString s2( L"abd" );
assert( s1 < s2 );