CommandLineParserGetArgument Method
Gets a command line argument by name or alias.
Namespace: Ookii.CommandLineAssembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 3.1.1
public CommandLineArgument? GetArgument(
string name
)
Public Function GetArgument (
name As String
) As CommandLineArgument
Dim instance As CommandLineParser
Dim name As String
Dim returnValue As CommandLineArgument
returnValue = instance.GetArgument(name)
public:
CommandLineArgument^ GetArgument(
String^ name
)
- name String
- The name or alias of the argument.
CommandLineArgumentThe
CommandLineArgument instance containing information about
the argument, or
if the argument was not found.
If the
Mode property is
LongShort, this uses
the long name and long aliases of the argument.