共用方式為


NSTextViewDelegate.WillChangeSelectionFromRanges 方法

定義

[Foundation.Export("textView:willChangeSelectionFromCharacterRanges:toCharacterRanges:")]
public virtual Foundation.NSValue[] WillChangeSelectionFromRanges (AppKit.NSTextView textView, Foundation.NSValue[] oldSelectedCharRanges, Foundation.NSValue[] newSelectedCharRanges);
abstract member WillChangeSelectionFromRanges : AppKit.NSTextView * Foundation.NSValue[] * Foundation.NSValue[] -> Foundation.NSValue[]
override this.WillChangeSelectionFromRanges : AppKit.NSTextView * Foundation.NSValue[] * Foundation.NSValue[] -> Foundation.NSValue[]

參數

textView
NSTextView
oldSelectedCharRanges
NSValue[]
newSelectedCharRanges
NSValue[]

傳回

屬性

適用於