ICommandLineOptions.TryGetOptionArgumentList(String, String[]) Method

Definition

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.

Applies to