ValueDescriptionAttribute Class |
Namespace: Ookii.CommandLine
The ValueDescriptionAttribute type exposes the following members.
Name | Description | |
---|---|---|
![]() | ValueDescriptionAttribute |
Initializes a new instance of the ValueDescriptionAttribute class.
|
Name | Description | |
---|---|---|
![]() | TypeId | (Inherited from Attribute.) |
![]() | ValueDescription |
Gets the custom value description.
|
Name | Description | |
---|---|---|
![]() | Equals | (Inherited from Attribute.) |
![]() | GetHashCode | (Inherited from Attribute.) |
![]() | GetType | (Inherited from Object.) |
![]() | IsDefaultAttribute | (Inherited from Attribute.) |
![]() | Match | (Inherited from Attribute.) |
![]() | ToString | (Inherited from Object.) |
The value description is a short (typically one word) description that indicates the type of value that the user should supply. By default the type of the parameter is used. If the type is an array type, the array's element type is used. If the type is a nullable type, the nullable type's underlying type is used.
The value description is used when printing usage. For example, the usage for an argument named Sample with a value description of String would look like "-Sample <String>".
![]() |
---|
This is not the long description used to describe the purpose of the argument. That should be specified using the DescriptionAttribute attribute. |