Compartilhar via


CComBSTR::operator <

Compares a CComBSTR with a string.

bool operator <(
   const CComBSTR& bstrSrc 
) const throw( );
bool operator <(
   LPCOLESTR pszSrc 
) const throw( );
bool operator <(
   LPCSTR pszSrc 
) const throw( );

Return Value

Returns true if the item being compared is less than the CComBSTR object; otherwise, returns false.

Remarks

The comparison is performed using the user's default locale.

Requirements

Header: atlbase.h

See Also

Reference

CComBSTR Class

Other Resources

CComBSTR Members