Share via


FlavoredProject.Close Method

Definition

Closes and cleans up a hierarchy once the environment determines that it is no longer used.

protected:
 virtual void Close();
protected:
 virtual void Close();
 virtual void Close();
protected virtual void Close ();
abstract member Close : unit -> unit
override this.Close : unit -> unit
Protected Overridable Sub Close ()

Remarks

This method calls the <xref:Microsoft.VisualStudio.Shell.Interop.IVsHierarchy.Close%28%29> method on the inner project. This method is called automatically only on hierarchies that are part of a solution. For hierarchies outside of solutions, have your package call this method on exit for any hierarchies that the package implements.

Applies to