Partager via


XRValue(ValueType&, bool) Constructor (Compact 2013)

3/28/2014

This template constructor creates a new instance of the XRValue class with the initial values supplied in the parameters.

Syntax

template<typename ValueType>
XRValue(
    const ValueType& Value,
    bool NeedFreeValuePointer = false
)

Parameters

  • Value
    [in] The initial value contained by the XRValue instance.
  • NeedFreeValuePointer
    [in] Set to true if XRValue transfers the ownership of the value to another user.

    If true, you can use FreeXRValue later.

    Otherwise, set to false.

Return Value

None.

.NET Framework Equivalent

None.

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

XRValue