TryConvertImplicit Method
Try to convert a value to a type using the implicit conversions allowed by the C# language.
Definition
Namespace: Avalonia.Utilities
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public static bool TryConvertImplicit(
	Type to,
	Object? value,
	out Object?? result
)
Public Shared Function TryConvertImplicit ( 
	to As Type,
	value As Object,
	<OutAttribute> ByRef result As Object
) As Boolean
static member TryConvertImplicit : 
        to : Type * 
        value : Object * 
        result : Object byref -> bool 
Parameters
- Type
- The type to convert to.
- Object
- The value to convert.
- Object
- If successful, contains the converted value.
Return Value
Boolean
True if the convert was successful, otherwise false.