CommandLineParserGetArgument Method |
Gets a command line argument by name.
Namespace:
Ookii.CommandLine
Assembly:
Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 2.4.0
Syntaxpublic 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
)
Parameters
- name
- Type: SystemString
The name of the argument.
Return Value
Type:
CommandLineArgumentThe
CommandLineArgument instance containing information about
the argument, or
if the argument was not found.
Exceptions
See Also