Partager via


IVsPrioritizedSolutionEvents.PrioritizedOnAfterOpenProject Method

Definition

Defines a method called after opening a project but before calling OnAfterOpenProject(IVsHierarchy, Int32).

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

Parameters

pHierarchy
IVsHierarchy

[in] Pointer to the IVsHierarchy interface of the project.

fAdded
Int32

[in] Boolean. Set to true if the project was added to the solution.

Returns

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

Applies to