ConvertFrom(ITypeDescriptorContext,CultureInfo,Object) Method
Converts from the specified value to the intended conversion type of the converter.
Syntax
public override object ConvertFrom( ITypeDescriptorContext context, CultureInfo culture, object value )
Parameters
- context
- An object that provides a format context.
- culture
- The System.Globalization.CultureInfo to use as the current culture.
- value
- The value to convert to the type of this converter.
Return Value
The converted value.
Exceptions
Exception | Description |
---|---|
System.FormatException | Unable to convert the object type {0} into a double. Please use a string with format '2, 5.6' or 'E, e' |
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also
Reference
LogarithmicBaseConverter Class
LogarithmicBaseConverter Members
Overload List
Base Implementation in ConvertFrom(ITypeDescriptorContext,CultureInfo,Object)