Share via


XRValue::GetValue (Compact 7)

3/12/2014

This method in Silverlight for Windows Embedded has the following versions for retrieving values that have different data types.

Topic Description

XRValue::GetValue(bool*)

Retrieves the current value from XRValue if its type can be implicitly converted to a bool.

XRValue::GetValue(BSTR*)

Retrieves the current value from XRValue if the value is a string type.

XRValue::GetValue(COLORREF*)

Retrieves the current value from XRValue if its type can be implicitly converted to a COLORREF, for example, if it is a UINT or COLORREF data type.

XRValue::GetValue(float*)

Retrieves the current value from XRValue if its type can be implicitly converted to a float.

XRValue::GetValue(int*)

Retrieves the current value from XRValue if its type can be implicitly converted to an integer.

XRValue::GetValue(IXRDependencyObject**)

Retrieves the current value from XRValue if its value type is VTYPE_OBJECT.

XRValue::GetValue(IXREnumerable**)

Retrieves the current value from XRValue if its value type is VTYPE_ENUMERABLE.

XRValue::GetValue(IXRPropertyBag**)

Retrieves the current value from XRValue if its value type is VTYPE_PROPERTYBAG.

XRValue::GetValue(UINT*)

Retrieves the current value from XRValue if its type can be implicitly converted to a UINT.

XRValue::GetValue(XRCornerRadius*)

Retrieves the current value from XRValue if its value type is VTYPE_CORNER_RADIUS.

XRValue::GetValue(XRGridLength*)

Retrieves the current value from XRValue if its value type is VTYPE_GRIDLENGTH.

XRValue::GetValue(XRPoint*)

Retrieves the current value from XRValue if its value type is VTYPE_POINT.

XRValue::GetValue(XRRect*)

Retrieves the current value from XRValue if its value type is VTYPE_RECT.

XRValue::GetValue(XRSize*)

Retrieves the current value from XRValue if its value type is VTYPE_SIZE.

XRValue::GetValue(XRThickness*)

Retrieves the current value from XRValue if its value type is VTYPE_THICKNESS.

See Also

Reference

XRValue
XRValue::SetValue