NSWorkspace.Notifications.ObserveDidRenameVolume 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
ObserveDidRenameVolume(EventHandler<NSWorkspaceRenamedEventArgs>) | |
ObserveDidRenameVolume(NSObject, EventHandler<NSWorkspaceRenamedEventArgs>) |
ObserveDidRenameVolume(EventHandler<NSWorkspaceRenamedEventArgs>)
public static Foundation.NSObject ObserveDidRenameVolume (EventHandler<AppKit.NSWorkspaceRenamedEventArgs> handler);
static member ObserveDidRenameVolume : EventHandler<AppKit.NSWorkspaceRenamedEventArgs> -> Foundation.NSObject
参数
- handler
- EventHandler<NSWorkspaceRenamedEventArgs>
返回
适用于
ObserveDidRenameVolume(NSObject, EventHandler<NSWorkspaceRenamedEventArgs>)
public static Foundation.NSObject ObserveDidRenameVolume (Foundation.NSObject objectToObserve, EventHandler<AppKit.NSWorkspaceRenamedEventArgs> handler);
static member ObserveDidRenameVolume : Foundation.NSObject * EventHandler<AppKit.NSWorkspaceRenamedEventArgs> -> Foundation.NSObject
参数
- objectToObserve
- NSObject
- handler
- EventHandler<NSWorkspaceRenamedEventArgs>