Share via


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

3/12/2014

The <= overloaded operator determines whether a binary string in a TBoundProperty<BSTR> object is less than or equal to 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 or equal to another string. 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>.operator<(BSTR)
TBoundProperty<BSTR>