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