Click or drag to resize

CommandLineArgumentPosition Property

Gets the position of this argument.

Namespace:  Ookii.CommandLine
Assembly:  Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 2.3.0
Syntax
public Nullable<int> Position { get; }

Property Value

Type: NullableInt32
The position of this argument, or if this is not a positional argument.
Remarks

A positional argument is created either using a constructor parameter on the command line arguments type, or by using the Position property to create a named positional argument.

The Position property reflects the actual position of the positional argument. For positional arguments created from properties this doesn't need to match the value of the Position property.

See Also