NSWindow.Notifications.ObserveDidResignMain 方法

定义

重载

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

ObserveDidResignMain(EventHandler<NSNotificationEventArgs>)

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

参数

返回

适用于

ObserveDidResignMain(NSObject, EventHandler<NSNotificationEventArgs>)

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

参数

objectToObserve
NSObject

返回

适用于