NSSpellChecker.RequestCandidates Method

Definition

[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

Parameters

selectedRange
NSRange
stringToCheck
String
checkingTypes
UInt64
tag
System.System.IntPtr System.nativeint
completionHandler

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

Action<System.nativeint,NSTextCheckingResult[]>

Returns

System.System.IntPtr System.nativeint
Attributes

Applies to