共用方式為


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

傳回

適用於