Internet Address List ConverterConvert From(IType Descriptor Context, Culture Info, Object) Method
Converts the given object to the type of this converter, using the specified context and culture information.
Definition
Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
An Object that represents the converted value.
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public override Object? ConvertFrom(
ITypeDescriptorContext? context,
CultureInfo? culture,
Object value
)Parameters
- context ITypeDescriptorContext
- An ITypeDescriptorContext that provides a format context.
- culture CultureInfo
- The CultureInfo to use as the current culture.
- value Object
- The Object to convert.
Return Value
ObjectAn Object that represents the converted value.
Remarks
Converts the given object to the type of this converter, using the specified context and culture information.
Exceptions
| NotSupportedException | The conversion cannot be performed. |