Hide

YetaWF.Core Package Documentation

Display
Print

YetaWF.Core.Components.TimeOfDayConv.ConvertTo Method

Converts the given value object to the specified type, using the specified context and culture information.

Class: YetaWF.Core.Components.TimeOfDayConv
Namespace: YetaWF.Core.Components
Assembly: YetaWF.Core

Syntax

public object? ConvertTo(
    object? value,
    Type destinationType );
public new object? ConvertTo(
    ITypeDescriptorContext? context,
    CultureInfo? culture,
    object? value,
    Type destinationType );

Parameters

value

The Object to convert.

destinationType

The Type to convert the value parameter to.

context

An ITypeDescriptorContext that provides a format context.

culture

A CultureInfo. If null is passed, the current culture is assumed.

Return Value

An Object that represents the converted value.

See Also YetaWF.Core.Components.TimeOfDayConv ClassYetaWF.Core Overview