Partager via


CompareStringOrdinal Method

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at CompareStringOrdinal Method.

Supports the WRL infrastructure and is not intended to be used directly from your code.

Syntax

  
inline INT32 CompareStringOrdinal(  
   HSTRING lhs,   
   HSTRING rhs)  

Parameters

lhs
The first HSTRING to compare.

rhs
The second HSTRING to compare.

Return Value

Value Condition
-1 lhs is less than rhs.
0 lhs equals rhs.
1 lhs is greater than rhs.

Remarks

Compares two specified HSTRING objects and returns an integer that indicates their relative position in a sort order.

Requirements

Header: corewrappers.h

Namespace: Microsoft::WRL::Wrappers::Details

See Also

Microsoft::WRL::Wrappers::Details Namespace