Editar

Compartir a través de


NLTagger.GetTokenRange(nuint, NSString) Method

Definition

Returns the lexical range of the unit that contains the spcified characterIndex.

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

Parameters

characterIndex
System.System.UIntPtr System.unativeint

A character index for the desired range.

unit
NSString

The unit, which covers the characterIndex, whose range to get.

Returns

The lexical range of the unit that contains the spcified characterIndex.

Attributes

Applies to