共用方式為


NSMenuItem.Notifications.ObserveMoved 方法

定義

多載

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

ObserveMoved(EventHandler<NSNotificationEventArgs>)

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

參數

傳回

適用於

ObserveMoved(NSObject, EventHandler<NSNotificationEventArgs>)

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

參數

objectToObserve
NSObject

傳回

適用於