CommandLineArgumentPosition Property |
Gets the position of this argument.
Namespace:
Ookii.CommandLine
Assembly:
Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 2.3.0
Syntaxpublic Nullable<int> Position { get; }
Public ReadOnly Property Position As Nullable(Of Integer)
Get
Dim instance As CommandLineArgument
Dim value As Nullable(Of Integer)
value = instance.Position
public:
property Nullable<int> Position {
Nullable<int> 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