The recording of the first ever ReactiveUI virtual conference is available on our YouTube Channel.

IBindingTypeConverter.

TryConvert(object?, Type, object?, object?) Method

Summary

Convert a given object to the specified type.
Namespace
ReactiveUI
Containing Type
IBindingTypeConverter

Syntax

bool TryConvert(object? from, Type toType, object? conversionHint, out object? result)

Parameters

Name Type Description
from object? The object to convert.
toType Type The type to coerce the object to.
conversionHint object? An implementation-defined value, usually to specify things like locale awareness.
result object? An object that is of the type toType.

Return Value

Type Description
bool True if conversion was successful.