TaskArgumentTypeConverter<TType>.

CanConvertTo(ITypeDescriptorContext, Type) Method

Summary

Receives a value indicating whether this System.ComponentModel.TypeConverter can convert to a TaskArgument from our Type.

Syntax

public override bool CanConvertTo(ITypeDescriptorContext context, Type targetType)

Attributes

Type Description
NullableContextAttribute

Parameters

Name Type Description
context ITypeDescriptorContext The System.ComponentModel.ITypeDescriptorContext.
targetType Type The target Type

Return Value

Type Description
bool A value indicating whether this System.ComponentModel.TypeConverter can convert to a TaskArgument.