DateOnlyConverter.ConvertFrom Method

Definition

Converts the given value object to a DateOnly object.

C#
public override object? ConvertFrom(System.ComponentModel.ITypeDescriptorContext? context, System.Globalization.CultureInfo? culture, object value);

Parameters

context
ITypeDescriptorContext

An ITypeDescriptorContext that provides a format context.

culture
CultureInfo

An optional CultureInfo. If not supplied, the current culture is assumed.

value
Object

The Object to convert.

Returns

An Object that represents the converted value.

Applies to

Toode Versioonid
.NET 7, 8, 9, 10