Partager via


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

3/28/2014

The > overloaded operator determines whether a string in a TBoundProperty<BSTR> object is greater than 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 the C++ expression.

Return Value

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

Remarks

In a lexicographical comparison, if one string has more characters than the other string, the longer string is considered to be greater than the shorter 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>