ParsableConverterTConvert(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.0.0+bb7ed9a8fdfd1cb21824750a8cf508863ad15086
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 ParsableConverter
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.
ObjectAn object representing the converted value.