# LibTmux.TmuxOption

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