NSWorkspace.Notifications.ObserveWillUnmount 方法

定义

重载

ObserveWillUnmount(EventHandler<NSWorkspaceMountEventArgs>)
ObserveWillUnmount(NSObject, EventHandler<NSWorkspaceMountEventArgs>)

ObserveWillUnmount(EventHandler<NSWorkspaceMountEventArgs>)

public static Foundation.NSObject ObserveWillUnmount (EventHandler<AppKit.NSWorkspaceMountEventArgs> handler);
static member ObserveWillUnmount : EventHandler<AppKit.NSWorkspaceMountEventArgs> -> Foundation.NSObject

参数

返回

适用于

ObserveWillUnmount(NSObject, EventHandler<NSWorkspaceMountEventArgs>)

public static Foundation.NSObject ObserveWillUnmount (Foundation.NSObject objectToObserve, EventHandler<AppKit.NSWorkspaceMountEventArgs> handler);
static member ObserveWillUnmount : Foundation.NSObject * EventHandler<AppKit.NSWorkspaceMountEventArgs> -> Foundation.NSObject

参数

objectToObserve
NSObject

返回

适用于