Mono.Options.OptionContext.OptionValues Property
A collection of string values to provide to OptionContext.Option.

Syntax

public OptionValueCollection OptionValues { get; }

Value

A Mono.Options.OptionValueCollection containing string values to provide to OptionContext.Option.

Remarks

The Mono.Options.OptionValueCollection indexer makes use of the Option.OptionValueType and Option.MaxValueCount properties. If the index does not have a value, the index is less than Option.MaxValueCount, and the OptionContext.Option has a value type of OptionValueType.Optional, null is returned; otherwise an Mono.Options.OptionException is thrown.

Requirements

Namespace: Mono.Options
Assembly: Mono.Options (in Mono.Options.dll)
Assembly Versions: 0.2.0.0, 0.2.1.0, 0.2.2.0, 0.2.3.0