다음을 통해 공유


_bstr_t Relational Operators

 

The latest version of this topic can be found at _bstr_t Relational Operators.

Microsoft Specific**

Compares two _bstr_t objects.

Syntax

  
      bool operator!( ) const throw( );   
bool operator==(  
   const _bstr_t& str   
) const throw( );  
bool operator!=(  
   const _bstr_t& str   
) const throw( );  
bool operator<(  
   const _bstr_t& str   
) const throw( );  
bool operator>(  
   const _bstr_t& str   
) const throw( );  
bool operator<=(  
   const _bstr_t& str   
) const throw( );  
bool operator>=(  
   const _bstr_t& str   
) const throw( );  

Remarks

These operators compare two _bstr_t objects lexicographically. The operators return true if the comparisons hold, otherwise return false.

END Microsoft Specific

See Also

_bstr_t Class