ICommandLineOptions.TryGetOptionArgumentList(String, String[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Tries to get the argument list for the specified option.
public bool TryGetOptionArgumentList(string optionName, out string[]? arguments);
abstract member TryGetOptionArgumentList : string * String[] -> bool
Public Function TryGetOptionArgumentList (optionName As String, ByRef arguments As String()) As Boolean
Parameters
- optionName
- String
The name of the option.
- arguments
- String[]
The argument list for the option, if found.
Returns
True if the argument list is found; otherwise, false.