XamlBindingHelper.ConvertValue(TypeName, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Converts a value from a source type to a target type.
public:
static Platform::Object ^ ConvertValue(TypeName type, Platform::Object ^ value);
static IInspectable ConvertValue(TypeName const& type, IInspectable const& value);
public static object ConvertValue(System.Type type, object value);
function convertValue(type, value)
Public Shared Function ConvertValue (type As Type, value As Object) As Object
Parameters
- value
-
Object
Platform::Object
IInspectable
The value to convert.
Returns
The converted value.
Remarks
This method is for use in code that is generated by the XAML compiler.