wstring::compare (Windows CE 5.0)
This method compares the string with a specified string to determine if the two strings are equal or if one is lexicographically lesser or greater than the other.
int compare( const wstring& _X) const;int compare( const wchar_t* _S) const;
Parameters
- _X
The wstring to be compared to this string. - _S
The C-style string to be compared to this string.
Return Values
This method returns:
- A negative value if this string is lexicographically less than the parameter string.
- A positive value if this string is lexicographically greater than the parameter string.
- Zero if the two strings are lexicographically equal.
Requirements
OS Versions: Windows CE 5.0 and later.
Header: Av_upnp.h.
Link Library: Av_upnp.lib.
C++ Namespace: av_upnp.
See Also
Send Feedback on this topic to the authors