Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Constructor: OptionAttribute(params string[])

Declaration

public OptionAttribute(
    params string[] names
)

Summary

Use this to specify that a field in a class can be specified on the command line using an option, for example -a or --option-name. The option name(s) MUST begin with a dash (-).

Parameters

string[]names The name of the option. Specify several names as synonyms if required.