次の方法で共有


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

3/28/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