NSTextView.Notifications.ObserveDidChangeSelection 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
ObserveDidChangeSelection(EventHandler<NSTextViewDidChangeSelectionEventArgs>) | |
ObserveDidChangeSelection(NSObject, EventHandler<NSTextViewDidChangeSelectionEventArgs>) |
ObserveDidChangeSelection(EventHandler<NSTextViewDidChangeSelectionEventArgs>)
public static Foundation.NSObject ObserveDidChangeSelection (EventHandler<AppKit.NSTextViewDidChangeSelectionEventArgs> handler);
static member ObserveDidChangeSelection : EventHandler<AppKit.NSTextViewDidChangeSelectionEventArgs> -> Foundation.NSObject
参数
返回
适用于
ObserveDidChangeSelection(NSObject, EventHandler<NSTextViewDidChangeSelectionEventArgs>)
public static Foundation.NSObject ObserveDidChangeSelection (Foundation.NSObject objectToObserve, EventHandler<AppKit.NSTextViewDidChangeSelectionEventArgs> handler);
static member ObserveDidChangeSelection : Foundation.NSObject * EventHandler<AppKit.NSTextViewDidChangeSelectionEventArgs> -> Foundation.NSObject
参数
- objectToObserve
- NSObject