IVsFireSolutionEvents.FireOnAfterOpenProject(IVsHierarchy, Int32) Method

Definition

Fires a solution event, OnAfterOpenProject(IVsHierarchy, Int32), after opening the project.

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

Parameters

pHierarchy
IVsHierarchy

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

fAdded
Int32

[in] Boolean. Set to true if the project is added to the solution after opening the solution. Set to false if the project is added to the solution while the solution is opening.

Returns

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

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsFireSolutionEvents::FireOnAfterOpenProject(  
   [in] IVsHierarchy *pHierarchy,   
   [in] BOOL fAdded  
);  

Applies to