Share via


HStringReference::Operator!= Operator

 

The latest version of this topic can be found at HStringReference::Operator!= Operator.

Indicates whether the two parameters are not equal.

Syntax

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

Parameters

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

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

Return Value

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

Requirements

Header: corewrappers.h

Namespace: Microsoft::WRL::Wrappers

See Also

HStringReference Class