次の方法で共有


TBoundProperty<BSTR>.operator<=(TBoundProperty&) (Compact 2013)

3/28/2014

The <= overloaded operator determines whether a string in a TBoundProperty<BSTR> object is less than or equal to a string in another TBoundProperty<BSTR> object in a C++ expression.

Syntax

bool operator<=(
TBoundProperty & value)

Parameters

  • value
    [in] Pointer to a TBoundProperty<BSTR> object 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 in a C++ expression. 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 TBoundProperty<BSTR>
TBoundProperty<BSTR>.operator<(TBoundProperty&)
TBoundProperty<BSTR>