NSMenu.Notifications.ObserveDrawerCreated 方法

定义

重载

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

ObserveDrawerCreated(EventHandler<NSNotificationEventArgs>)

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

参数

返回

适用于

ObserveDrawerCreated(NSObject, EventHandler<NSNotificationEventArgs>)

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

参数

objectToObserve
NSObject

返回

适用于