# LibTmux.TmuxOption

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** C#
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/cf34b255c896d19a97e7d7fabea58609c916012d/src/LibTmux/Options/TmuxOptionValue.cs#L69
- **Page:** https://libtmux.org/en/csharp/latest/reference/libtmux-tmuxoption/

One option, with its array index when tmux gave it one.

tmux array options are sparse: setting index 40 leaves 4 through 39 unset,
and tmux reports only what exists. Carrying the index on each entry says so
plainly, where a list would have to invent the gaps.

## Members

### Other members

- `Index` (property): Gets the array index, or null for an option that is not an array.
- `Inherited` (property): Gets whether the value came from a parent scope.
- `Name` (property): Gets the option name, without index or inheritance marker.
- `TmuxOption` (method): Initializes an option.
- `Value` (property): Gets the value tmux reported.
