共用方式為


NSWindow.Notifications.ObserveCreated 方法

定義

多載

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

ObserveCreated(EventHandler<NSNotificationEventArgs>)

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

參數

傳回

適用於

ObserveCreated(NSObject, EventHandler<NSNotificationEventArgs>)

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

參數

objectToObserve
NSObject

傳回

適用於