Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
FolderRemoveEventHandler 不是全局的,它只能用于通知何时从特定文件夹集合的顶层删除文件夹。当任何文件夹被删除/删除时,我需要一个事件来触发 - 这样的事情是否存在?
恐怕不会,但是没有什么能阻止您在应用程序启动时递归地注册所有文件夹事件。