CommandLineArgumentAttributeDefaultValueFormat Property

Gets or sets a compound formatting string that is used to format the default value for display in the usage help.

Definition

Namespace: Ookii.CommandLine
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.2.0+a4d3631e4dcc0970081ed435288efdebc1325f83
C#
public string? DefaultValueFormat { get; set; }

Property Value

String
A compound formatting string, or to use the default format.

Remarks

This value must be a compound formatting string containing exactly one placeholder, e.g "0x{0:x}".

See Also