共用方式為


NSPopover.Notifications.ObserveWillShow 方法

定義

多載

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

ObserveWillShow(NSObject, EventHandler<NSNotificationEventArgs>)

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

參數

objectToObserve
NSObject

傳回

適用於

ObserveWillShow(EventHandler<NSNotificationEventArgs>)

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

參數

傳回

適用於