Click or drag to resize
MimeKit

InternetAddressConverterCanConvertFrom(ITypeDescriptorContext, Type) Method

Returns whether this converter can convert an object of the given type to the type of this converter, using the specified context.

Namespace: MimeKit
Assembly: MimeKit (in MimeKit.dll) Version: 4.12.0
Syntax
C#
public override bool CanConvertFrom(
	ITypeDescriptorContext context,
	Type sourceType
)

Parameters

context  ITypeDescriptorContext
An ITypeDescriptorContext that provides a format context.
sourceType  Type
A Type that represents the type you want to convert from.

Return Value

Boolean
if this converter can perform the conversion; otherwise, .
Remarks
Returns whether this converter can convert an object of the given type to the type of this converter, using the specified context.
See Also