KeyValuePairConverterTKey, TValueConvert(ITypeDescriptorContext, CultureInfo, String) Method
Converts from a string to the type of this converter.
Namespace: Ookii.CommandLineAssembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 3.1.1
protected override KeyValuePair<TKey, TValue> Convert(
ITypeDescriptorContext? context,
CultureInfo? culture,
string value
)
Protected Overrides Function Convert (
context As ITypeDescriptorContext,
culture As CultureInfo,
value As String
) As KeyValuePair(Of TKey, TValue)
Dim context As ITypeDescriptorContext
Dim culture As CultureInfo
Dim value As String
Dim returnValue As KeyValuePair(Of TKey, TValue)
returnValue = Me.Convert(context,
culture, value)
protected:
virtual KeyValuePair<TKey, TValue> Convert(
ITypeDescriptorContext^ context,
CultureInfo^ culture,
String^ value
) override
- context ITypeDescriptorContext
- An ITypeDescriptorContext that provides format context.
- culture CultureInfo
- A CultureInfo to use for the conversion.
- value String
- The String value to convert.
KeyValuePairTKey,
TValueThe converted object.