Events
Nov 19, 11 PM - Nov 21, 11 PM
Gain the competitive edge you need with powerful AI and Cloud solutions by attending Microsoft Ignite online.
Register nowThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
[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.
BOOL operator!=(
const CHString & s1,
const CHString & s2
);
s1
Reference to the CHString to the left of the operator for this comparison.
s2
Reference to the CHString to the right of the operator for this comparison.
The following code example shows the use of a CHString Comparison Operator:
CHString s1( L"abc" );
CHString s2( L"abd" );
assert( s1 != s2 );
Requirement | Value |
---|---|
Header | chstring.h |
Events
Nov 19, 11 PM - Nov 21, 11 PM
Gain the competitive edge you need with powerful AI and Cloud solutions by attending Microsoft Ignite online.
Register now