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

返回

属性

适用于