共用方式為


_bstr_t 關係運算子

Microsoft 特定的

比較兩個 _bstr_t 物件。

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( );

備註

這些運算子會針對兩個 _bstr_t 物件進行字彙上的比較。 如果比較有效,運算子會傳回 true,否則會傳回 false

END Microsoft 特定的

請參閱

參考

_bstr_t 類別