在处理Visual Studio 2010 Extension的时候, 我们需要了很多无名的定义;
这些定义主要是定义Package的行为;
如:
<Groups> <Group guid="guidSpellChecker_ExtensionCmdSet" id="MyMenuGroup" priority="0x0600"> <Parent guid="guidSHLMainMenu" id="IDM_VS_CTXT_CODEWIN"/> </Group> </Groups>
这样的代码中, IDM_VS_CTXT_CODEWIN是VS定义的一个控件标签;
下面是我从MSDN中整理的有关此类标签的说明; 以便今后使用起来能够更加方便;
NameDescription guidCciSetThe GUID of the CCI set. guidSHLMainMenuThe GUID of the main menu of the shell. guidStandardCommandSet2KThe GUID of the Visual Studio editor standard command set. guidStandardCommandSet97The GUID of the Visual Studio 6 standard command set. guidVsUIHierarchyWindowCmdsThe GUID of the Visual Studio UI hierarchy window commands. guidVSUISet guidVsVbaPkgAn alias for CLSID_VsVbaPackage. IDM_VS_CTXT_CODEWINDefines the context menu of the code window. IDM_VS_CTXT_FOLDERNODEThe ID of the context menu of the folder node. IDM_VS_CTXT_ITEMNODEThe ID of the context menu of the item node. IDM_VS_CTXT_NOCOMMANDSThe ID of the context menu for no available commands. IDM_VS_CTXT_PROJNODEThe ID of the context menu for the project node. IDM_VS_CTXT_REFERENCEThe ID of the context menu of the reference node. IDM_VS_CTXT_REFERENCEROOTThe ID of the context menu of the root reference node. IDM_VS_CTXT_XPROJ_MULTIITEMThe ID of the context menu for multiple selections of different types. IDM_VS_CTXT_XPROJ_PROJITEMThe ID of the context menu for multiple selections including the project node. VSCmdOptQueryParameterList
The high-order word value for the nCmdexecopt parameter when querying parameter lists, for exampleQueryParameterList.
原文地址: http://msdn.microsoft.com/en-us/library/bb163231.aspx