共用方式為


NSDrawer.Notifications.ObserveWillOpen 方法

定義

多載

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

ObserveWillOpen(NSObject, EventHandler<NSNotificationEventArgs>)

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

參數

objectToObserve
NSObject

傳回

適用於

ObserveWillOpen(EventHandler<NSNotificationEventArgs>)

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

參數

傳回

適用於