Data Property

Definition

Namespace Tomlyn.Parsing
Assembly Tomlyn.dll

Gets the raw scalar payload for numeric and boolean scalars. When Kind is String, this contains the underlying TokenKind for the string literal. When Kind is PropertyName, this contains an internal packed payload that includes the TokenKind of the key literal (in the low 8 bits) as well as a case-sensitive hash of the decoded property name (in the remaining high bits).

public ulong Data { get; }

Returns