Share via


TBoundProperty<BSTR>.operator<(BSTR) (Compact 7)

3/12/2014

The < overloaded operator determines whether the binary string in a TBoundProperty<BSTR> object is less than another binary string in a C++ expression.

Syntax

bool operator<(
BSTR value)

Parameters

  • value
    [in] Pointer to a BSTR string that is the operand on the right in a C++ expression.

Return Value

Returns true if the operand on the left is lexicographically less than the operand on the right. Otherwise, returns false.

Remarks

In a lexicographic comparison, if a string has fewer characters than another string, the shorter string is considered to be less than the longer string.

Requirements

Header

oleauto.h,
XRPropertyBag.h

Library

oleaut32.lib

See Also

Reference

C++ Overloaded Operators for BSTR
TBoundProperty<BSTR>

Other Resources

BSTR