public bool IsPositional { get; set; }
Public Property IsPositional As Boolean
Get
Set
Dim instance As CommandLineArgumentAttribute
Dim value As Boolean
value = instance.IsPositional
instance.IsPositional = value
public:
property bool IsPositional {
bool get ();
void set (bool value);
}
If the Position property is set to a non-negative value, this property always returns .
When using the GeneratedParserAttribute attribute, you can set the IsPositional property to without setting the Position property, to order positional arguments using the order of the members that define them.
Doing this is not supported without the GeneratedParserAttribute attribute, because reflection is not guaranteed to return class members in any particular order. The CommandLineParser class will throw an exception if the IsPositional property is without a non-negative Position property value if reflection is used.