Compartilhar via


XRValue::SetValue(IXRPropertyBag, bool) (Compact 2013)

3/28/2014

This method sets a new value for pPropertyBagVal in XRValue.

Syntax

void SetValue(
    IXRPropertyBag *pValue,
    bool NeedFreeValuePointer = false
)

Parameters

  • 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

See Also

Reference

XRValue::SetValue
XRValue