SolutionEvents.IVsSolutionEvents2.OnAfterOpenProject Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs on/after the project is opened.
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
Parameters
- pHierarchy
- IVsHierarchy
The hierarchy.
- fAdded
- Int32
true
if the project is added.
Returns
The HRESULT.