更新时间:2023-10-04 14:40:04
überalls,
Hi überalls,
根据您的描述,您似乎想要动态添加菜单项。如果是这样,你可以创建一个继承自
的动态菜单命令类
OleMenuCommand 。有关详细信息,请参阅:
Based on your description, it seems that you want to add Menu Items dynamically. if so, you could You create a dynamic menu command class that inherits from OleMenuCommand. For more information, please refer to:
https://docs.microsoft.com/en-us/visualstudio/extensibility/dynamically-adding-menu-items
祝你好运,
Cole Wu