# LibTmux.GetOptionRequest.GetOptionRequest

- **Module:** LibTmux.GetOptionRequest
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/6656a563ec9e07ab52e0c3ac96f7704fc94cc0c0/src/LibTmux/Requests/GetOptionRequest.cs#L13
- **Page:** https://libtmux.org/reference/dotnet/libtmux-getoptionrequest-getoptionrequest/

```
LibTmux.GetOptionRequest.GetOptionRequest(name: string, scope: OptionScope?, global: bool, includeHooks: bool, includeInherited: bool, quiet: bool)
```

Initializes a request for one option.

## Parameters

- `name` (string) — The option to read.
- `scope` (OptionScope?) — The scope to read in, or null for the owner's own.
- `global` (bool) — Whether the global table is read instead of the local one.
- `includeHooks` (bool) — Whether hooks are listed alongside options.
- `includeInherited` (bool) — Whether values inherited from a parent scope are included.
- `quiet` (bool) — Whether a missing option is answered with nothing instead of an error.
