Share via


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

3/28/2014

The == overloaded operator determines whether a binary string contained in a TBoundProperty<BSTR> object and another binary string are equal in a C++ expression.

Syntax

bool operator==(
BSTR value)

Parameters

  • value
    [in] Binary string that is the right operand of a C++ expression.

Return Value

Returns true if the left operand and right operand are lexicographically equal to each other. Otherwise, returns false.

Remarks

In a lexicographical comparison, if two strings have an identical count of characters and the character values are identical, the strings are considered to be equal.

Requirements

Header

oleauto.h,
XRPropertyBag.h

Library

oleaut32.lib

See Also

Reference

C++ Overloaded Operators for BSTR
TBoundProperty<BSTR>.operator!=(BSTR)
TBoundProperty<BSTR>