Table of Contents

Method CanConvertFrom

Namespace
Innova.Data.AppSettings
Assembly
Innova.Data.dll

CanConvertFrom(ITypeDescriptorContext, Type)

Determines whether this converter can convert the specified source type to the type of this converter.

public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)

Parameters

context ITypeDescriptorContext

An ITypeDescriptorContext that provides a format context.

sourceType Type

The type of the source that is being converted.

Returns

bool

true if this converter can perform the conversion; otherwise, false.