Converts the given object to the type of this converter, using the specified context and culture information.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public override Object ConvertFrom( ITypeDescriptorContext context, CultureInfo culture, Object value )
Public Overrides Function ConvertFrom ( _ context As ITypeDescriptorContext, _ culture As CultureInfo, _ value As Object _ ) As Object
public: virtual Object^ ConvertFrom( ITypeDescriptorContext^ context, CultureInfo^ culture, Object^ value ) override
Parameters
- context (ITypeDescriptorContext)
- An ITypeDescriptorContext that provides a format context.
- culture (CultureInfo)
- The CultureInfo to use as the current culture.
Return Value
An Object that represents the converted value.
Exceptions
Exception | Condition |
---|---|
NotSupportedException | The conversion cannot be performed. |
Assembly: ICSharpCode.AvalonEdit (Module: ICSharpCode.AvalonEdit.dll) Version: 5.0.0.4238