Core LibraryAPI Reference

Choose documentation 3

latest

Current version

latest
English

Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

method libtmux-dotnet latest

SessionId.Parse

Namespace LibTmux.SessionId.Parse LibTmux

Parses a prefixed session identifier.

View as Markdown

Source and package
Module
LibTmux
Declared in
SessionId
Package
LibTmux
Source
src/LibTmux/SessionId.cs
Parse ( text : string ) → SessionId ( text : ReadOnlySpan<char> ) → SessionId
methodstaticoverload2 overloads [source]
Parameters
  • text ( ReadOnlySpan<char> ) – The text to parse. (for Parse(text) [overload 2])

Returns

The parsed identifier. (for Parse(text) [overload 2])

Raises
  • FormatException – The text is not a canonical session identifier. (for Parse(text) [overload 2])

Esc

Type to search.