NSMenuItem.Notifications.ObserveSelectedTextChanged 方法

定义

重载

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

ObserveSelectedTextChanged(EventHandler<NSNotificationEventArgs>)

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

参数

返回

适用于

ObserveSelectedTextChanged(NSObject, EventHandler<NSNotificationEventArgs>)

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

参数

objectToObserve
NSObject

返回

适用于