次の方法で共有


IVsPrioritizedSolutionEvents.PrioritizedOnAfterLoadProject Method

Definition

Defines a method called after loading a project but before OnAfterLoadProject(IVsHierarchy, IVsHierarchy).

public:
 int PrioritizedOnAfterLoadProject(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pStubHierarchy, Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pRealHierarchy);
public:
 int PrioritizedOnAfterLoadProject(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pStubHierarchy, Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pRealHierarchy);
int PrioritizedOnAfterLoadProject(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy const & pStubHierarchy, Microsoft::VisualStudio::Shell::Interop::IVsHierarchy const & pRealHierarchy);
public int PrioritizedOnAfterLoadProject (Microsoft.VisualStudio.Shell.Interop.IVsHierarchy pStubHierarchy, Microsoft.VisualStudio.Shell.Interop.IVsHierarchy pRealHierarchy);
abstract member PrioritizedOnAfterLoadProject : Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * Microsoft.VisualStudio.Shell.Interop.IVsHierarchy -> int
Public Function PrioritizedOnAfterLoadProject (pStubHierarchy As IVsHierarchy, pRealHierarchy As IVsHierarchy) As Integer

Parameters

pStubHierarchy
IVsHierarchy

[in] Pointer to the IVsHierarchy interface of the placeholder hierarchy for the unloaded project.

pRealHierarchy
IVsHierarchy

[in] Pointer to the IVsHierarchy interface of the project that was loaded.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Applies to