TaskArgumentTypeConverter<TType>.

CanConvertFrom(ITypeDescriptorContext, Type) Method

Summary

Receives a value indicating whether this System.ComponentModel.TypeConverter can convert from a particular Type.

Syntax

public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)

Parameters

Name Type Description
context ITypeDescriptorContext The System.ComponentModel.ITypeDescriptorContext.
sourceType Type The Type to convert from.

Return Value

Type Description
bool A value indicating whether this System.ComponentModel.TypeConverter can convert from a particular Type.