Udostępnij za pośrednictwem


SolutionEvents.IVsSolutionEvents2.OnAfterOpenProject Method

Definition

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.

Implements

Applies to