IVsFireSolutionEvents.FireOnAfterOpenProject(IVsHierarchy, Int32) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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.
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsFireSolutionEvents::FireOnAfterOpenProject(
[in] IVsHierarchy *pHierarchy,
[in] BOOL fAdded
);
Proizvod | Verzije |
---|---|
Visual Studio SDK | 2015, 2017, 2019, 2022 |