共用方式為


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

傳回

屬性

適用於