共用方式為


NSWindow.Notifications.ObserveWillMove 方法

定義

多載

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

ObserveWillMove(EventHandler<NSNotificationEventArgs>)

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

參數

傳回

適用於

ObserveWillMove(NSObject, EventHandler<NSNotificationEventArgs>)

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

參數

objectToObserve
NSObject

傳回

適用於