NSMenu.Notifications.ObserveDidSendAction 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
ObserveDidSendAction(EventHandler<NSMenuItemEventArgs>) | |
ObserveDidSendAction(NSObject, EventHandler<NSMenuItemEventArgs>) |
ObserveDidSendAction(EventHandler<NSMenuItemEventArgs>)
public static Foundation.NSObject ObserveDidSendAction (EventHandler<AppKit.NSMenuItemEventArgs> handler);
static member ObserveDidSendAction : EventHandler<AppKit.NSMenuItemEventArgs> -> Foundation.NSObject
參數
- handler
- EventHandler<NSMenuItemEventArgs>
傳回
適用於
ObserveDidSendAction(NSObject, EventHandler<NSMenuItemEventArgs>)
public static Foundation.NSObject ObserveDidSendAction (Foundation.NSObject objectToObserve, EventHandler<AppKit.NSMenuItemEventArgs> handler);
static member ObserveDidSendAction : Foundation.NSObject * EventHandler<AppKit.NSMenuItemEventArgs> -> Foundation.NSObject
參數
- objectToObserve
- NSObject
- handler
- EventHandler<NSMenuItemEventArgs>