GetText(in TomlToken) Method

Definition

Namespace Tomlyn.Parsing
Assembly Tomlyn.dll

Gets the raw source text represented by a token.

public string? GetText(in TomlToken token)

Parameters

token
TomlToken

The token.

Returns

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