IVsPrioritizedSolutionEvents.PrioritizedOnBeforeCloseProject Method
Definition
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.
Defines a method called after OnBeforeCloseProject(IVsHierarchy, Int32) and before closing a project.
public:
int PrioritizedOnBeforeCloseProject(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pHierarchy, int fRemoved);
public:
int PrioritizedOnBeforeCloseProject(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pHierarchy, int fRemoved);
int PrioritizedOnBeforeCloseProject(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy const & pHierarchy, int fRemoved);
public int PrioritizedOnBeforeCloseProject (Microsoft.VisualStudio.Shell.Interop.IVsHierarchy pHierarchy, int fRemoved);
abstract member PrioritizedOnBeforeCloseProject : Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * int -> int
Public Function PrioritizedOnBeforeCloseProject (pHierarchy As IVsHierarchy, fRemoved As Integer) As Integer
Parameters
- pHierarchy
- IVsHierarchy
[in] Pointer to the IVsHierarchy interface of the project.
- fRemoved
- Int32
[in] Boolean. Set to true
if the project was removed from the solution.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.