Compartir a través de


wstring::compare (Windows CE 5.0)

Send Feedback

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

wstring class (UPnP AV)

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.