GetText(String) Method

Definition

Namespace Tomlyn.Parsing
Assembly Tomlyn.dll

Gets the text represented by this token from a source string.

public readonly string? GetText(string text)

Parameters

text
String

The full source text.

Returns

String
The token text, or null if out of range.