# LibTmux.CapturedRelation

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** class
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/320dc64f4b8b7815842471327a5e6b84a1499bf8/src/LibTmux/Snapshots/CapturedRelation.cs#L12
- **Page:** https://libtmux.org/en/dotnet/latest/reference/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

- `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.
