NSLinguisticTagger.GetTokenRange(nuint, NSLinguisticTaggerUnit) Method

Definition

[Foundation.Export("tokenRangeAtIndex:unit:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual Foundation.NSRange GetTokenRange (nuint charIndex, Foundation.NSLinguisticTaggerUnit unit);
abstract member GetTokenRange : nuint * Foundation.NSLinguisticTaggerUnit -> Foundation.NSRange
override this.GetTokenRange : nuint * Foundation.NSLinguisticTaggerUnit -> Foundation.NSRange

Parameters

charIndex
nuint

Returns

NSRange
Attributes

Applies to