次の方法で共有


_bstr_t 関係演算子

Microsoft 固有の仕様

2 つの _bstr_t オブジェクトを比較します。

構文

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

解説

これらの演算子は 2 つの _bstr_t オブジェクトを辞書式に比較します。 演算子は、比較が保持される場合は true を返し、それ以外の場合は false を返します。

Microsoft 固有の仕様はここまで

関連項目

_bstr_t クラス