共用方式為


NSLinguisticTagger.GetTokenRange(nuint, NSLinguisticTaggerUnit) 方法

定義

[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

參數

charIndex
System.System.UIntPtr System.unativeint

傳回

屬性

適用於