WriteUsageOptionsUsagePrefix Property |
Gets or sets the prefix to use for the argument syntax; typically this contains the executable name.
Namespace:
Ookii.CommandLine
Assembly:
Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 2.3.0
Syntaxpublic string UsagePrefix { get; set; }
Public Property UsagePrefix As String
Get
Set
Dim instance As WriteUsageOptions
Dim value As String
value = instance.UsagePrefix
instance.UsagePrefix = value
public:
property String^ UsagePrefix {
String^ get ();
void set (String^ value);
}
Property Value
Type:
String
The prefix to use for the argument syntax; typically this contains the executable name. The default value
is "Usage: " followed by the file name of the application's entry point assembly.
Remarks
The usage prefix is written before the command line syntax of the usage help, and is followed by the syntax
of the individual arguments.
Setting this property to will revert it to its default value.
See Also