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 greater 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 greater than the operand on the right. Otherwise, returns false.

Remarks

In a lexicographic comparison, if a string has more characters than another 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 BSTR
TBoundProperty<BSTR>.operator>=(BSTR)
TBoundProperty<BSTR>