Share via


TokenizerResult.Offsets Property

Definition

Gets The list of offsets. These offsets let’s you slice the input string, and thus retrieve the original part that led to producing the corresponding token.

[System.Runtime.CompilerServices.TupleElementNames(new System.String[] { "Index", "End" })]
public System.Collections.Generic.IReadOnlyList<(int Index, int End)> Offsets { get; }
[<System.Runtime.CompilerServices.TupleElementNames(new System.String[] { "Index", "End" })>]
member this.Offsets : System.Collections.Generic.IReadOnlyList<ValueTuple<int, int>>
Public ReadOnly Property Offsets As IReadOnlyList(Of ValueTuple(Of Integer, Integer))

Property Value

Attributes

Applies to