2016-05-25 11 views

答えて

0

コードを取得しました。リンクhere

- :これは仕事

var type = typeof(VSConstants.VSStd97CmdID); 

     var commandId = new CommandID(type.GUID, (int)VSConstants.VSStd97CmdID.AddClass); 

     var oleMenuCommandService = GetService(typeof(IMenuCommandService)) as OleMenuCommandService; 

     oleMenuCommandService.GlobalInvoke(commandId); 

リファレンスを行います

関連する問題