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