Partager via


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

3/28/2014

The () overloaded operator returns the BSTR string value that is contained by the TBoundProperty<BSTR> object.

Syntax

operator BSTR(void)

Parameters

None.

Return Value

Returns the binary string that is contained by the TBoundProperty<BSTR> object.

Remarks

With the () operator, you can implicitly convert a TBoundProperty<BSTR> object to the actual property type, which is a BSTR string.

Requirements

Header

oleauto.h,
XRPropertyBag.h

Library

oleaut32.lib

See Also

Reference

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

Other Resources

BSTR