共用方式為


SolutionEvents.IVsSolutionEvents4.OnAfterAsynchOpenProject Method

Definition

Occurs on/after a project is opened asynchronously.

 virtual int Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents4.OnAfterAsynchOpenProject(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pHierarchy, int fAdded) = Microsoft::VisualStudio::Shell::Interop::IVsSolutionEvents4::OnAfterAsynchOpenProject;
 virtual int Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents4.OnAfterAsynchOpenProject(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pHierarchy, int fAdded) = Microsoft::VisualStudio::Shell::Interop::IVsSolutionEvents4::OnAfterAsynchOpenProject;
int Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents4.OnAfterAsynchOpenProject(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy const & pHierarchy, int fAdded);
int IVsSolutionEvents4.OnAfterAsynchOpenProject (Microsoft.VisualStudio.Shell.Interop.IVsHierarchy pHierarchy, int fAdded);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents4.OnAfterAsynchOpenProject : Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * int -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsSolutionEvents4.OnAfterAsynchOpenProject : Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * int -> int
Function OnAfterAsynchOpenProject (pHierarchy As IVsHierarchy, fAdded As Integer) As Integer Implements IVsSolutionEvents4.OnAfterAsynchOpenProject

Parameters

pHierarchy
IVsHierarchy

The hierarchy.

fAdded
Int32

true if the project was added.

Returns

The HRESULT.

Implements

Applies to