XRValue::SetValue(IXRPropertyBag, bool) (Compact 7)
3/12/2014
This method sets a new value for pPropertyBagVal in XRValue.
Syntax
void SetValue(
IXRPropertyBag *pValue,
bool NeedFreeValuePointer = false
)
Parameters
- pValue
[in] Pointer to the new IXRPropertyBag value.
NeedFreeValuePointer
[in] Set to true if XRValue transfers the ownership of the value to another user. If true, you can use FreeXRValue later to free the memory of the XRValue object and clear all references to it.Otherwise, set to false.
Return Value
Returns an HRESULT that indicates success or failure.
.NET Framework Equivalent
None.
Requirements
Header |
XamlRuntime.h |
sysgen |
SYSGEN_XAML_RUNTIME |