共用方式為


NSMenuItem.Notifications.ObserveRowCollapsed 方法

定義

多載

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

ObserveRowCollapsed(EventHandler<NSNotificationEventArgs>)

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

參數

傳回

適用於

ObserveRowCollapsed(NSObject, EventHandler<NSNotificationEventArgs>)

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

參數

objectToObserve
NSObject

傳回

適用於