Click or drag to resize
MimeKit

InternetAddressConverterConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type) Method

Converts the given value object to the specified type, using the specified context and culture information.

Namespace: MimeKit
Assembly: MimeKit (in MimeKit.dll) Version: 4.12.0
Syntax
C#
public override Object ConvertTo(
	ITypeDescriptorContext context,
	CultureInfo culture,
	Object value,
	Type destinationType
)

Parameters

context  ITypeDescriptorContext
An ITypeDescriptorContext that provides a format context.
culture  CultureInfo
A CultureInfo. If , the current culture is assumed.
value  Object
The Object to convert.
destinationType  Type
The Type to convert the value to.

Return Value

Object
An Object that represents the converted value.
Exceptions
ExceptionCondition
ArgumentNullExceptiondestinationType is .
NotSupportedException The conversion cannot be performed.
Remarks
Converts the given value object to the specified type, using the specified context and culture information.
See Also