Export (0) Print
Expand All

IXRPropertyBag::GetValue (Compact 2013)

3/28/2014

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


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

pstrPropertyName

[in] Pointer to the name of the property.

pValue

[out] Pointer to an XRValue object that contains the current value of the property.

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 XAML for Windows Embedded data binding engine retrieve updated values of data-source properties, which is required for one-way data binding.

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

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

Show:
© 2014 Microsoft