# CommandLineOption class

Namespace: [Rhino.Input.Custom](https://developer.rhino3d.com/api/rhinocommon/namespace/rhino.input.custom.md) · Assembly: [RhinoCommon](https://developer.rhino3d.com/api/rhinocommon/assembly/rhinocommon.md)

```cs
public sealed class CommandLineOption
```

## Properties

- [CurrentListOptionIndex](https://developer.rhino3d.com/api/rhinocommon/type/rhino.input.custom.commandlineoption/currentlistoptionindex.md)
- [CurrentNumericValue](https://developer.rhino3d.com/api/rhinocommon/type/rhino.input.custom.commandlineoption/currentnumericvalue.md)
- [CurrentToggleValue](https://developer.rhino3d.com/api/rhinocommon/type/rhino.input.custom.commandlineoption/currenttogglevalue.md)
- [EnglishName](https://developer.rhino3d.com/api/rhinocommon/type/rhino.input.custom.commandlineoption/englishname.md): The English command option name
- [Index](https://developer.rhino3d.com/api/rhinocommon/type/rhino.input.custom.commandlineoption/index.md)
- [LocalName](https://developer.rhino3d.com/api/rhinocommon/type/rhino.input.custom.commandlineoption/localname.md): The localized command option name
- [OptionType](https://developer.rhino3d.com/api/rhinocommon/type/rhino.input.custom.commandlineoption/optiontype.md): The type of this command line option
- [StringOptionValue](https://developer.rhino3d.com/api/rhinocommon/type/rhino.input.custom.commandlineoption/stringoptionvalue.md): Assigned by RhinoGet.Get if an option value is specified in a script or by a command window control.

## Methods

- [IsValidOptionName](https://developer.rhino3d.com/api/rhinocommon/type/rhino.input.custom.commandlineoption/isvalidoptionname.md): (static) Test a string to see if it can be used as an option name in any of the RhinoGet::AddCommandOption...() functions.
- [IsValidOptionValueName](https://developer.rhino3d.com/api/rhinocommon/type/rhino.input.custom.commandlineoption/isvalidoptionvaluename.md): (static) Test a string to see if it can be used as an option value in RhinoGet::AddCommandOption, RhinoGet::AddCommandOptionToggle, or RhinoGet::AddCommandOptionList.
- [ListOptions](https://developer.rhino3d.com/api/rhinocommon/type/rhino.input.custom.commandlineoption/listoptions.md): If this OptionType is a list, then the option should contain a list of values that the user can pick from.
- [ToggleValues](https://developer.rhino3d.com/api/rhinocommon/type/rhino.input.custom.commandlineoption/togglevalues.md)
