Click or drag to resize
ValueOptionAttribute Class
Maps a single unnamed option to the target property. Values will be mapped in order of Index. This attribute takes precedence over ValueListAttribute with which can coexist.
Inheritance Hierarchy
SystemObject
  SystemAttribute
    X3Platform.CommandLineValueOptionAttribute

Namespace: X3Platform.CommandLine
Assembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntax
public sealed class ValueOptionAttribute : Attribute

The ValueOptionAttribute type exposes the following members.

Constructors
  NameDescription
Public methodValueOptionAttribute
Initializes a new instance of the ValueOptionAttribute class.
Top
Methods
  NameDescription
Public methodEquals (Inherited from Attribute.)
Public methodGetHashCode (Inherited from Attribute.)
Public methodGetType (Inherited from Object.)
Public methodIsDefaultAttribute (Inherited from Attribute.)
Public methodMatch (Inherited from Attribute.)
Public methodToString (Inherited from Object.)
Top
Properties
  NameDescription
Public propertyIndex
Gets the position this option has on the command line.
Public propertyTypeId (Inherited from Attribute.)
Top
Remarks
It can handle only scalar values. Do not apply to arrays or lists.
See Also