共用方式為


NSImageRep.Notifications.ObserveRegistryDidChange 方法

定義

多載

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

ObserveRegistryDidChange(EventHandler<NSNotificationEventArgs>)

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

參數

傳回

適用於

ObserveRegistryDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

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

參數

objectToObserve
NSObject

傳回

適用於