IXRPropertyBag::SetValue
Collapse the table of content
Expand the table of content

IXRPropertyBag::SetValue (Compact 2013)

3/28/2014

This method updates the value of a property of a data source object.


virtual HRESULT STDMETHODCALLTYPE SetValue(
    const WCHAR* pstrPropertyName,
    XRValue *pValue
) = 0;

pstrPropertyName

[in] Pointer to the name of the property.

pValue

[in] Pointer to an XRValue object that contains the new value.

Returns an HRESULT that indicates success or failure.

You must provide a custom implementation of this method when you create a custom C++ object to represent a data source for data binding. This method lets the data binding engine set updated values for data-source properties, which is required for two-way data binding.

The XAML for Windows Embedded data binding engine calls this method to set the updated value of the specified property.

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

Show:
© 2016 Microsoft