共用方式為


NSOutlineView.Notifications.ObserveSelectionDidChange 方法

定義

多載

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

ObserveSelectionDidChange(EventHandler<NSNotificationEventArgs>)

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

參數

傳回

適用於

ObserveSelectionDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

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

參數

objectToObserve
NSObject

傳回

適用於