共用方式為


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

傳回

適用於