Documentation for the C# command-line option parsing library

OptionResult.NumDefinitions Property

Get or set the number of times this option was defined

public int NumDefinitions {get; set;}


If the type of the option supports multiple definitions or multiple values, then this property specifies how many times the option was defined

See Also

OptionResult Class | CommandLine.OptParse Namespace