public Object? DefaultValue { get; set; }
Public Property DefaultValue As Object
Get
Set
Dim instance As CommandLineArgumentAttribute
Dim value As Object
value = instance.DefaultValue
instance.DefaultValue = value
public:
property Object^ DefaultValue {
Object^ get ();
void set (Object^ value);
}
The DefaultValue property will not be used if the IsRequired property is , or if the argument is a multi-value or dictionary argument, or if the CommandLineArgumentAttribute attribute was applied to a method.
By default, the command line usage help generated by WriteUsage(UsageWriter) does not include the default value. Either manually add it to the description, or set the IncludeDefaultValueInDescription property to .