KeyValuePairConverterTKey, TValueConvertFrom Method (ITypeDescriptorContext, CultureInfo, Object) |
Converts the given object to the type of this converter, using the specified context and culture information.
Namespace:
Ookii.CommandLine
Assembly:
Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 2.3.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
Dim instance As KeyValuePairConverter
Dim context As ITypeDescriptorContext
Dim culture As CultureInfo
Dim value As Object
Dim returnValue As Object
returnValue = instance.ConvertFrom(context,
culture, value)
public:
virtual Object^ ConvertFrom(
ITypeDescriptorContext^ context,
CultureInfo^ culture,
Object^ value
) override
Parameters
- 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.
Exceptions
See Also