HString::Operator!= 运算符

指示两个参数是否不相等。

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

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

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

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

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

参数

  • lhs
    比较的第一个参数。lhs 可以是 HString 或 HStringReference 对象或 HSTRING 处理。

  • rhs
    比较的第二个参数。rhs 可以是 HString 或 HStringReference 对象或 HSTRING 处理。

返回值

true ,如果 lhs 和 rhs 参数不相等;否则, false。

要求

标题: corewrappers.h

命名空间: Microsoft:: WRL:: 包装

请参见

参考

HString 类