次の方法で共有


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

3/28/2014

This method sets a new value for pEnumerableVal in XRValue.

Syntax

void SetValue(
    IXREnumerable *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 after you are finished using 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