Method ConvertFrom
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
Assembly
MongoDB.Driver.dll
ConvertFrom(ITypeDescriptorContext, CultureInfo, object)
Converts the given object to the type of this converter, using the specified context and culture information.
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.
Returns
An object that represents the converted value.
Exceptions
The conversion cannot be performed.