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

返回

适用于