[]
        
(Showing Draft Content)

C1.Win.Calendar.DateTimeRangeConverter.CanConvertFrom

CanConvertFrom Method

CanConvertFrom(ITypeDescriptorContext, Type)

Determines whether this converter can convert an object of the given type to a DateTimeRange.

Declaration
public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
Public Overrides Function CanConvertFrom(context As ITypeDescriptorContext, sourceType As Type) As Boolean
Parameters
Type Name Description
ITypeDescriptorContext context

The type descriptor context.

Type sourceType

The type to convert from.

Returns
Type Description
bool

true if sourceType is a string; otherwise, defers to the base implementation.

Overrides