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>