次の方法で共有


SolutionEvents.IVsSolutionEvents.OnAfterOpenProject Method

Definition

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.

Implements

Applies to