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

参数

返回

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

返回

NSObject

适用于