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 EnumConverter
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
This method performs the conversion using the EnumParse(Type, String, Boolean) method.
CommandLineArgumentException | The value was not valid for the enumeration type. |