TokenizerResult.Offsets 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得位移的清單。 這些位移可讓您配量輸入字串,進而擷取導致產生對應權杖的原始部分。
[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))
屬性值
- 屬性