Share via


TBoundProperty<BSTR>.Set(const BSTR) (Compact 7)

3/12/2014

This method sets a new value for the string property that is encapsulated by the TBoundProperty<BSTR> object.

Syntax

void Set(
const BSTR value)

Parameters

  • value
    [in] Binary string that contains the new value of the property.

Return Value

None.

Remarks

To set the property value after you register the property with a TPropertyBag<Derived> object, use TPropertyBag.SetValue(const WCHAR *,XRValue *).

Requirements

Header

oleauto.h,
XRPropertyBag.h

Library

oleaut32.lib

See Also

Reference

TBoundProperty<BSTR>
TBoundProperty<BSTR>.Set(XRValue *)
TBoundProperty<BSTR>.Get