如何通过sharpshell为回收站添加shell上下文菜单?
可能吗?
The class GUID of the virtual Recycle Bin Folder in Windows systems is {645FF040-5081-101B-9F08-00AA002F954E}
.
You can specify a context menu handler to be registered for this class in SharpShell via the the COMServerAssociation attribute and specifying AssociationType = Class and specifying the class directly the following way:
[COMServerAssociation(AssociationType.Class, "{645FF040-5081-101B-9F08-00AA002F954E}")]
public class MyContextMenuExtension: SharpContextMenu
{
// ...
}