共用方式為


NSWindow.Notifications.ObserveWillBeginSheet 方法

定義

多載

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

ObserveWillBeginSheet(EventHandler<NSNotificationEventArgs>)

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

參數

傳回

適用於

ObserveWillBeginSheet(NSObject, EventHandler<NSNotificationEventArgs>)

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

參數

objectToObserve
NSObject

傳回

適用於