Class OptionParameterAttribute
Declares an Option argument which requires a parameter after the Option is invoked
Inheritance
System.Object
OptionParameterAttribute
Syntax
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
public class OptionParameterAttribute : BaseOptionAttribute
Constructors
| Improve this DocOptionParameterAttribute(Char)
Apply to a Supported Property to mark it as an OptionParameter definition
Declaration
public OptionParameterAttribute(char ShortName)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Char | ShortName | The case sensitive character which can be declared after a - to invoke an option parameter |
OptionParameterAttribute(String)
Apply to a Supported Property to mark it as an OptionParameter definition
Declaration
public OptionParameterAttribute(string LongName)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | LongName | The case insensitive string which can be declared after a -- to invoke an option parameter |
OptionParameterAttribute(String, Char)
Apply to a Supported Property to mark it as an OptionParameter definition
Declaration
public OptionParameterAttribute(string LongName, char ShortName)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | LongName | The case insensitive string which can be declared after a -- to invoke an option parameter |
| System.Char | ShortName | The case sensitive character which can be declared after a - to invoke an option parameter |