TypeUtilitiesTryConvertImplicit Method
Try to convert a value to a type using the implicit conversions allowed by the C#
language.
Namespace: Avalonia.UtilitiesAssembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
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
- to Type
- The type to convert to.
- value Object
- The value to convert.
- result Object
- If successful, contains the converted value.
BooleanTrue if the convert was successful, otherwise false.