public override Object? Convert(
ReadOnlySpan<char> value,
CultureInfo culture,
CommandLineArgument argument
)
Public Overrides Function Convert (
value As ReadOnlySpan(Of Char),
culture As CultureInfo,
argument As CommandLineArgument
) As Object
Dim instance As EnumConverter
Dim value As ReadOnlySpan(Of Char)
Dim culture As CultureInfo
Dim argument As CommandLineArgument
Dim returnValue As Object
returnValue = instance.Convert(value,
culture, argument)
public:
virtual Object^ Convert(
ReadOnlySpan<wchar_t> value,
CultureInfo^ culture,
CommandLineArgument^ argument
) override
This method performs the conversion using the EnumParse(Type, ReadOnlySpanChar, Boolean) method.
CommandLineArgumentException | The value was not valid for the enumeration type. |