共用方式為


NSText.Notifications.ObserveDidChange 方法

定義

多載

ObserveDidChange(EventHandler<NSNotificationEventArgs>)
ObserveDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

ObserveDidChange(EventHandler<NSNotificationEventArgs>)

public static Foundation.NSObject ObserveDidChange (EventHandler<Foundation.NSNotificationEventArgs> handler);
static member ObserveDidChange : EventHandler<Foundation.NSNotificationEventArgs> -> Foundation.NSObject

參數

傳回

適用於

ObserveDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

public static Foundation.NSObject ObserveDidChange (Foundation.NSObject objectToObserve, EventHandler<Foundation.NSNotificationEventArgs> handler);
static member ObserveDidChange : Foundation.NSObject * EventHandler<Foundation.NSNotificationEventArgs> -> Foundation.NSObject

參數

objectToObserve
NSObject

傳回

適用於