SolutionEvents.IVsSolutionEvents2.OnAfterOpenProject(IVsHierarchy, Int32) Метод
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Происходит в/после открытия проекта.
virtual int Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents2.OnAfterOpenProject(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pHierarchy, int fAdded) = Microsoft::VisualStudio::Shell::Interop::IVsSolutionEvents2::OnAfterOpenProject;
virtual int Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents2.OnAfterOpenProject(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pHierarchy, int fAdded) = Microsoft::VisualStudio::Shell::Interop::IVsSolutionEvents2::OnAfterOpenProject;
int Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents2.OnAfterOpenProject(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy const & pHierarchy, int fAdded);
int IVsSolutionEvents2.OnAfterOpenProject (Microsoft.VisualStudio.Shell.Interop.IVsHierarchy pHierarchy, int fAdded);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents2.OnAfterOpenProject : Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * int -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents2.OnAfterOpenProject : Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * int -> int
Function OnAfterOpenProject (pHierarchy As IVsHierarchy, fAdded As Integer) As Integer Implements IVsSolutionEvents2.OnAfterOpenProject
Параметры
- pHierarchy
- IVsHierarchy
Иерархия.
- fAdded
- Int32
true значение, если проект добавлен.
Возвращаемое значение
HRESULT.