共用方式為


NSSpellChecker.RequestCandidates 方法

定義

[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
tag
System.System.IntPtr System.nativeint
completionHandler

Action<System.System.IntPtr,NSTextCheckingResult[]>

Action<System.nativeint,NSTextCheckingResult[]>

傳回

System.System.IntPtr System.nativeint
屬性

適用於