# LibTmux.CapturedRelation

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** class
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/6656a563ec9e07ab52e0c3ac96f7704fc94cc0c0/src/LibTmux/Snapshots/CapturedRelation.cs#L12
- **Page:** https://libtmux.org/reference/dotnet/libtmux-capturedrelation/

Holds the children a snapshot captured for one relation.

An uncaptured relation is not an empty one. Enumerating a relation the
snapshot never read throws instead of reporting zero children, so a caller
cannot mistake unread state for absent state.

## Members

- `CapturedRelation` (method)
- `Relation` (property) — Gets the relation name this instance carries.
- `CapturedDepth` (property) — Gets the depth the owning snapshot reached.
- `IsCaptured` (property) — Gets whether the snapshot read this relation.
- `Count` (property)
- `GetEnumerator` (method)
- `OrEmpty` (method) — Returns the captured children, or an empty list when unread.
- `Capture` (method)
- `Uncaptured` (method)
