public bool? AutoPrefixAliases { get; set; }
Public Property AutoPrefixAliases As Boolean?
Get
Set
Dim instance As ParseOptions
Dim value As Boolean?
value = instance.AutoPrefixAliases
instance.AutoPrefixAliases = value
public:
property Nullable<bool> AutoPrefixAliases {
Nullable<bool> get ();
void set (Nullable<bool> value);
}
If this property is , the CommandLineParser class will consider any prefix that uniquely identifies an argument by its name or one of its explicit aliases as an alias for that argument. For example, given two arguments "Port" and "Protocol", "Po" and "Por" would be an alias for "Port", and "Pr" an alias for "Protocol" (as well as "Pro", "Prot", "Proto", etc.). "P" would not be an alias because it doesn't uniquely identify a single argument.
When using ParsingModeLongShort, this only applies to long names. Explicit aliases set with the AliasAttribute take precedence over automatic aliases. Automatic prefix aliases are not shown in the usage help.
This behavior is enabled unless explicitly disabled here or using the ParseOptionsAttributeAutoPrefixAliases property.
If not , this property overrides the value of the ParseOptionsAttributeAutoPrefixAliases property.