NSTextView.Notifications.ObserveWillChangeNotifyingTextView 方法

定义

重载

ObserveWillChangeNotifyingTextView(EventHandler<NSTextViewWillChangeNotifyingTextViewEventArgs>)
ObserveWillChangeNotifyingTextView(NSObject, EventHandler<NSTextViewWillChangeNotifyingTextViewEventArgs>)

ObserveWillChangeNotifyingTextView(EventHandler<NSTextViewWillChangeNotifyingTextViewEventArgs>)

public static Foundation.NSObject ObserveWillChangeNotifyingTextView (EventHandler<AppKit.NSTextViewWillChangeNotifyingTextViewEventArgs> handler);
static member ObserveWillChangeNotifyingTextView : EventHandler<AppKit.NSTextViewWillChangeNotifyingTextViewEventArgs> -> Foundation.NSObject

参数

返回

适用于

ObserveWillChangeNotifyingTextView(NSObject, EventHandler<NSTextViewWillChangeNotifyingTextViewEventArgs>)

public static Foundation.NSObject ObserveWillChangeNotifyingTextView (Foundation.NSObject objectToObserve, EventHandler<AppKit.NSTextViewWillChangeNotifyingTextViewEventArgs> handler);
static member ObserveWillChangeNotifyingTextView : Foundation.NSObject * EventHandler<AppKit.NSTextViewWillChangeNotifyingTextViewEventArgs> -> Foundation.NSObject

参数

objectToObserve
NSObject

返回

适用于