Editar

Compartir a través de


NLTokenizer.GetTokenRange(nuint) Method

Definition

Gets the range of the token that covers the specified character index.

[Foundation.Export("tokenRangeAtIndex:")]
public virtual Foundation.NSRange GetTokenRange (nuint characterIndex);
abstract member GetTokenRange : nuint -> Foundation.NSRange
override this.GetTokenRange : nuint -> Foundation.NSRange

Parameters

characterIndex
System.System.UIntPtr System.unativeint

The index of a character that is covered by a token.

Returns

The range of the token that covers the specified character index.

Attributes

Applies to