共用方式為


NSView.Notifications.ObserveWindowCreated 方法

定義

多載

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

ObserveWindowCreated(EventHandler<NSNotificationEventArgs>)

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

參數

傳回

適用於

ObserveWindowCreated(NSObject, EventHandler<NSNotificationEventArgs>)

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

參數

objectToObserve
NSObject

傳回

適用於