NSSpellChecker.RequestCandidates 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
[Foundation.Export("requestCandidatesForSelectedRange:inString:types:options:inSpellDocumentWithTag:completionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, 2, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual nint RequestCandidates (Foundation.NSRange selectedRange, string stringToCheck, ulong checkingTypes, Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> options, nint tag, Action<nint,Foundation.NSTextCheckingResult[]> completionHandler);
abstract member RequestCandidates : Foundation.NSRange * string * uint64 * Foundation.NSDictionary<Foundation.NSString, Foundation.NSObject> * nint * Action<nint, Foundation.NSTextCheckingResult[]> -> nint
override this.RequestCandidates : Foundation.NSRange * string * uint64 * Foundation.NSDictionary<Foundation.NSString, Foundation.NSObject> * nint * Action<nint, Foundation.NSTextCheckingResult[]> -> nint
參數
- selectedRange
- NSRange
- stringToCheck
- String
- checkingTypes
- UInt64
- options
- NSDictionary<NSString,NSObject>
- tag
- System.System.IntPtr System.nativeint
- completionHandler
-
Action<System.System.IntPtr,NSTextCheckingResult[]>
Action<System.nativeint,NSTextCheckingResult[]>
傳回
System.System.IntPtr
System.nativeint
- 屬性