SolutionEvents.IVsSolutionEvents.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 open
virtual int Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents.OnAfterOpenProject(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pHierarchy, int fAdded) = Microsoft::VisualStudio::Shell::Interop::IVsSolutionEvents::OnAfterOpenProject;
virtual int Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents.OnAfterOpenProject(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pHierarchy, int fAdded) = Microsoft::VisualStudio::Shell::Interop::IVsSolutionEvents::OnAfterOpenProject;
int Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents.OnAfterOpenProject(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy const & pHierarchy, int fAdded);
int IVsSolutionEvents.OnAfterOpenProject (Microsoft.VisualStudio.Shell.Interop.IVsHierarchy pHierarchy, int fAdded);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents.OnAfterOpenProject : Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * int -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents.OnAfterOpenProject : Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * int -> int
Function OnAfterOpenProject (pHierarchy As IVsHierarchy, fAdded As Integer) As Integer Implements IVsSolutionEvents.OnAfterOpenProject
Parameters
- pHierarchy
- IVsHierarchy
The hierarchy.
- fAdded
- Int32
true if the project was added.
Returns
The HRESULT.