共用方式為


SLComposeServiceViewController.GetTextCheckingCandidates 方法

定義

[Foundation.Export("textView:candidates:forSelectedRange:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, 2, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual Foundation.NSTextCheckingResult[] GetTextCheckingCandidates (AppKit.NSTextView textView, Foundation.NSTextCheckingResult[] candidates, Foundation.NSRange selectedRange);
abstract member GetTextCheckingCandidates : AppKit.NSTextView * Foundation.NSTextCheckingResult[] * Foundation.NSRange -> Foundation.NSTextCheckingResult[]
override this.GetTextCheckingCandidates : AppKit.NSTextView * Foundation.NSTextCheckingResult[] * Foundation.NSRange -> Foundation.NSTextCheckingResult[]

參數

textView
NSTextView
candidates
NSTextCheckingResult[]
selectedRange
NSRange

傳回

屬性

適用於