Click or drag to resize
MimeKit

InternetAddressListConverterCanConvertTo(ITypeDescriptorContext, Type) Method

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

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

Parameters

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

Return Value

Boolean
if this converter can perform the conversion; otherwise, .
Remarks

Use the context parameter to extract additional information about the environment from which this converter is invoked. This parameter can be , so always check it. Also, properties on the context object can return .

If destinationType is a string, the default implementation of CanConvertTo(ITypeDescriptorContext, Type) always returns .

See Also