IXRPropertyBag::GetValue (Compact 2013)
3/28/2014
This method retrieves the value of a property of a data source object.
Syntax
virtual HRESULT STDMETHODCALLTYPE GetValue(
const WCHAR* pstrPropertyName,
XRValue *pValue
) = 0;
Parameters
- pstrPropertyName
[in] Pointer to the name of the property.
- pValue
[out] Pointer to an XRValue object that contains the current value of the property.
Return Value
Returns an HRESULT that indicates success or failure.
Remarks
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.
.NET Framework Equivalent
None.
Requirements
Header |
XamlRuntime.h |
sysgen |
SYSGEN_XAML_RUNTIME |