|
RangeTypeConverterConvertFrom Method (ITypeDescriptorContext, CultureInfo, Object)
|
Converts the given object to the type of this converter, using the specified context and culture information.
Namespace:
Accord.Controls
Assembly:
Accord.Controls (in Accord.Controls.dll) Version: 3.8.0
Syntaxpublic override Object ConvertFrom(
ITypeDescriptorContext context,
CultureInfo culture,
Object value
)
Public Overrides Function ConvertFrom (
context As ITypeDescriptorContext,
culture As CultureInfo,
value As Object
) As Object
Request Example
View SourceParameters
- context
- Type: System.ComponentModelITypeDescriptorContext
An ITypeDescriptorContext that provides a format context. - culture
- Type: System.GlobalizationCultureInfo
The CultureInfo to use as the current culture. - value
- Type: SystemObject
The Object to convert.
Return Value
Type:
Object
An
Object that represents the converted value.
ExceptionsException | Condition |
---|
NotSupportedException | The conversion cannot be performed. |
See Also