NSLinguisticTagger.GetTag 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
GetTag(nint, NSString, NSRange, NSRange) | |
GetTag(nuint, NSLinguisticTaggerUnit, String, NSRange) | |
GetTag(String, nuint, NSLinguisticTaggerUnit, String, NSOrthography, NSRange) |
GetTag(nint, NSString, NSRange, NSRange)
[Foundation.Export("tagAtIndex:scheme:tokenRange:sentenceRange:")]
public virtual string GetTag (nint charIndex, Foundation.NSString tagScheme, ref Foundation.NSRange tokenRange, ref Foundation.NSRange sentenceRange);
abstract member GetTag : nint * Foundation.NSString * * -> string
override this.GetTag : nint * Foundation.NSString * * -> string
參數
- charIndex
- System.System.IntPtr System.nativeint
- tagScheme
- NSString
- tokenRange
- NSRange
- sentenceRange
- NSRange
傳回
- 屬性
適用於
GetTag(nuint, NSLinguisticTaggerUnit, String, NSRange)
[Foundation.Export("tagAtIndex:unit:scheme:tokenRange:")]
[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 string GetTag (nuint charIndex, Foundation.NSLinguisticTaggerUnit unit, string scheme, ref Foundation.NSRange tokenRange);
abstract member GetTag : nuint * Foundation.NSLinguisticTaggerUnit * string * -> string
override this.GetTag : nuint * Foundation.NSLinguisticTaggerUnit * string * -> string
參數
- charIndex
- System.System.UIntPtr System.unativeint
- scheme
- String
傳回
- 屬性
適用於
GetTag(String, nuint, NSLinguisticTaggerUnit, String, NSOrthography, NSRange)
[Foundation.Export("tagForString:atIndex:unit:scheme:orthography:tokenRange:")]
[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 static string GetTag (string str, nuint charIndex, Foundation.NSLinguisticTaggerUnit unit, string scheme, Foundation.NSOrthography orthography, ref Foundation.NSRange tokenRange);
static member GetTag : string * nuint * Foundation.NSLinguisticTaggerUnit * string * Foundation.NSOrthography * -> string
參數
- str
- String
- charIndex
- System.System.UIntPtr System.unativeint
- scheme
- String
傳回
- 屬性