NSMenu.Notifications.ObserveCreated 方法

定义

重载

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

ObserveCreated(EventHandler<NSNotificationEventArgs>)

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

参数

返回

适用于

ObserveCreated(NSObject, EventHandler<NSNotificationEventArgs>)

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

参数

objectToObserve
NSObject

返回

适用于