HString::Operator== Operator

 

For the latest documentation on Visual Studio 2017 RC, see Visual Studio 2017 RC Documentation.

Indicates whether the two parameters are equal.

  
inline bool operator==(  
               const HString& lhs,   
               const HString& rhs) throw()  
  
inline bool operator==(  
                const HString& lhs,   
                const HStringReference& rhs) throw()  
  
inline bool operator==(  
                const HStringReference& lhs,   
                const HString& rhs) throw()  
  
inline bool operator==(  
                 const HSTRING& lhs,   
                 const HString& rhs) throw()  
  
inline bool operator==(  
                 const HString& lhs,   
                 const HSTRING& rhs) throw()  
  

Parameters

lhs
The first parameter to compare. lhs can be an HString or HStringReference object, or an HSTRING handle.

rhs
The second parameter to compare.rhs can be an HString or HStringReference object, or an HSTRING handle.

true if the lhs and rhs parameters are equal; otherwise, false.

Header: corewrappers.h

Namespace: Microsoft::WRL::Wrappers

HString Class

Show: