次の方法で共有


XRValue::SetValue (Compact 2013)

3/28/2014

This method in XAML for Windows Embedded provides the following versions for setting values that have different data types.

Method

Description

XRValue::SetValue(bool)

Sets a new value for BoolVal in XRValue.

XRValue::SetValue(const BSTR, bool)

Sets a new value for bstrStringVal in XRValue.

XRValue::SetValue(const COLORREF)

Sets a new value for ColorVal in XRValue.

XRValue::SetValue(const WCHAR*)

Sets a new value for pReadOnlyStringVal in XRValue.

XRValue::SetValue(const XRCornerRadius)

Sets a new value for CornerRadiusVal in XRValue.

XRValue::SetValue(const XRGridLength)

Sets a new value for GridLengthVal in XRValue.

XRValue::SetValue(const XRPoint)

Sets a new value for PointVal in XRValue.

XRValue::SetValue(const XRRect)

Sets a new value for RectVal in XRValue.

XRValue::SetValue(const XRSize)

Sets a new value for SizeVal in XRValue.

XRValue::SetValue(const XRThickness)

Sets a new value for ThicknessVal in XRValue.

XRValue::SetValue(float)

Sets a new value for FloatVal in XRValue.

XRValue::SetValue(int)

Sets a new value for IntVal in XRValue.

XRValue::SetValue(IXRDependencyObject, bool)

Sets a new value for pObjectVal in XRValue.

XRValue::SetValue(IXREnumerable, bool)

Sets a new value for pEnumerableVal in XRValue.

XRValue::SetValue(IXRPropertyBag, bool)

Sets a new value for pPropertyBagVal in XRValue.

XRValue::SetValue(UINT)

Sets a new value for UIntVal in XRValue.

See Also

Reference

XRValue
XRValue::GetValue