Ways of access EnvDTE.DTE(or EnvDTE80.DTE2 etc) from within a VsPackage

http://social.msdn.microsoft.com/Forums/en/vsx/thread/2f147cbd-4abe-464b-a665-6a166560f5c2

EnvDTE.DTE applicationObject = (EnvDTE.DTE)

        (this.GetService(typeof(Microsoft.VisualStudio.Shell.Interop.SDTE)));

posted @ 2012-04-27 15:42  georgechen_ena  阅读(167)  评论(0编辑  收藏  举报