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.
|
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)