共用方式為


NSWorkspace.Notifications.ObserveDidRenameVolume 方法

定義

多載

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

參數

傳回

適用於

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

傳回

適用於