NullableConverterConvert(String, CultureInfo, CommandLineArgument) Method
Converts a string to the type of the argument.
Namespace: Ookii.CommandLine.ConversionAssembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.2.0+a4d3631e4dcc0970081ed435288efdebc1325f83
public override Object? Convert(
string value,
CultureInfo culture,
CommandLineArgument argument
)
Public Overrides Function Convert (
value As String,
culture As CultureInfo,
argument As CommandLineArgument
) As Object
Dim instance As NullableConverter
Dim value As String
Dim culture As CultureInfo
Dim argument As CommandLineArgument
Dim returnValue As Object
returnValue = instance.Convert(value,
culture, argument)
public:
virtual Object^ Convert(
String^ value,
CultureInfo^ culture,
CommandLineArgument^ argument
) override
- value String
- The string to convert.
- culture CultureInfo
- The culture to use for the conversion.
- argument CommandLineArgument
-
The CommandLineArgument that will use the converted value.
Object
An object representing the converted value, or
if the value was an
empty string.