# LibTmux.TmuxOption

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/320dc64f4b8b7815842471327a5e6b84a1499bf8/src/LibTmux/Options/TmuxOptionValue.cs#L69
- **Page:** https://libtmux.org/en/dotnet/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

- `TmuxOption` (method): Initializes an option.
- `Name` (property): Gets the option name, without index or inheritance marker.
- `Value` (property): Gets the value tmux reported.
- `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.
