SLComposeServiceViewController.WillChangeSelection 方法

定义

[Foundation.Export("textView:willChangeSelectionFromCharacterRange:toCharacterRange:")]
public virtual Foundation.NSRange WillChangeSelection (AppKit.NSTextView textView, Foundation.NSRange oldSelectedCharRange, Foundation.NSRange newSelectedCharRange);
abstract member WillChangeSelection : AppKit.NSTextView * Foundation.NSRange * Foundation.NSRange -> Foundation.NSRange
override this.WillChangeSelection : AppKit.NSTextView * Foundation.NSRange * Foundation.NSRange -> Foundation.NSRange

参数

textView
NSTextView
oldSelectedCharRange
NSRange
newSelectedCharRange
NSRange

返回

属性

适用于