KeyValuePairConverterTKey, TValue Constructor (String, Boolean, Type, Type, String) |
Namespace:
Ookii.CommandLine
Assembly:
Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 2.4.0
Syntaxpublic KeyValuePairConverter(
string argumentName,
bool allowNullValues,
Type? keyConverterType,
Type? valueConverterType,
string? separator
)
Public Sub New (
argumentName As String,
allowNullValues As Boolean,
keyConverterType As Type,
valueConverterType As Type,
separator As String
)
Dim argumentName As String
Dim allowNullValues As Boolean
Dim keyConverterType As Type
Dim valueConverterType As Type
Dim separator As String
Dim instance As New KeyValuePairConverter(argumentName,
allowNullValues, keyConverterType,
valueConverterType, separator)
public:
KeyValuePairConverter(
String^ argumentName,
bool allowNullValues,
Type^ keyConverterType,
Type^ valueConverterType,
String^ separator
)
Parameters
- argumentName
- Type: SystemString
The name of the argument that this converter is for. - allowNullValues
- Type: SystemBoolean
Indicates whether the value type accepts values. - keyConverterType
- Type: SystemType
Provides an optional TypeConverter type to use to convert keys.
If , the default converter for TKey is used. - valueConverterType
- Type: SystemType
Provides an optional TypeConverter type to use to convert values.
If , the default converter for TValue is used. - separator
- Type: SystemString
Provides an optional custom key/value separator. If , the value
of DefaultSeparator is used.
Exceptions
See Also