# LibTmux.TmuxOptionKey.Text

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** C#
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/cf34b255c896d19a97e7d7fabea58609c916012d/src/LibTmux/Options/TmuxOptionKey.cs#L79
- **Page:** https://libtmux.org/en/csharp/latest/reference/libtmux-tmuxoptionkey-text/

```
LibTmux.TmuxOptionKey.Text(name: string) -> TmuxOptionKey<string>
```

Declares an option read as the text tmux reports, which suits a string, a choice, a style or a colour.

## Parameters

- `name` (`string`): The option name, such as <c>status-style</c> or a user option <c>@name</c>.

## Returns

A key reading the option as text.

## Raises

- [`ArgumentException`](https://learn.microsoft.com/dotnet/api/system.argumentexception): The name is blank.
