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 string {0} into a DoubleRange. Please use the format '1.234,5.678' |
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
StringToVector3TypeConverter Class
StringToVector3TypeConverter Members
Overload List
Base Implementation in ConvertFrom(ITypeDescriptorContext,CultureInfo,Object)