Skip to content

P_CommandLine_ParserSettings_IgnoreUnknownArguments

Moh.Hassan edited this page Oct 10, 2019 · 1 revision

ParserSettings.IgnoreUnknownArguments Property

Gets or sets a value indicating whether the parser shall move on to the next argument and ignore the given argument if it encounter an unknown arguments

Namespace: CommandLine
Assembly: CommandLine (in CommandLine.dll) Version: 0.0.0

Syntax

C#

public bool IgnoreUnknownArguments { get; set; }

VB

Public Property IgnoreUnknownArguments As Boolean
	Get
	Set

C++

public:
property bool IgnoreUnknownArguments {
	bool get ();
	void set (bool value);
}

F#

member IgnoreUnknownArguments : bool with get, set

Property Value

Type: Boolean
true to allow parsing the arguments with different class options that do not have all the arguments.

Remarks

This allows fragmented version class parsing, useful for project with add-on where add-ons also requires command line arguments but when these are unknown by the main program at build time.

See Also

Reference

ParserSettings Class
CommandLine Namespace

Clone this wiki locally