共用方式為


NSPopover.Notifications.ObserveWillClose 方法

定義

多載

ObserveWillClose(EventHandler<NSPopoverCloseEventArgs>)
ObserveWillClose(NSObject, EventHandler<NSPopoverCloseEventArgs>)

ObserveWillClose(EventHandler<NSPopoverCloseEventArgs>)

public static Foundation.NSObject ObserveWillClose (EventHandler<AppKit.NSPopoverCloseEventArgs> handler);
static member ObserveWillClose : EventHandler<AppKit.NSPopoverCloseEventArgs> -> Foundation.NSObject

參數

傳回

適用於

ObserveWillClose(NSObject, EventHandler<NSPopoverCloseEventArgs>)

public static Foundation.NSObject ObserveWillClose (Foundation.NSObject objectToObserve, EventHandler<AppKit.NSPopoverCloseEventArgs> handler);
static member ObserveWillClose : Foundation.NSObject * EventHandler<AppKit.NSPopoverCloseEventArgs> -> Foundation.NSObject

參數

objectToObserve
NSObject

傳回

適用於