Ejemplo n.º 1
0
            public void Dispose()
            {
                IVsHierarchy hierarchy = project as IVsHierarchy;

                if (null != hierarchy)
                {
                    hierarchy.Close();
                }
                project = null;

                if (null != services)
                {
                    services.Dispose();
                    services = null;
                }
            }
 public int Close()
 {
     return(_hierarchy.Close());
 }
Ejemplo n.º 3
0
 /// <include file='doc\FlavoredProject.uex' path='docs/doc[@for="FlavoredProject.Close"]/*' />
 protected virtual void Close()
 {
     NativeMethods.ThrowOnFailure(innerVsHierarchy.Close());
 }
Ejemplo n.º 4
0
 /// <include file='doc\FlavoredProject.uex' path='docs/doc[@for="FlavoredProject.Close"]/*' />
 protected virtual void Close()
 {
     ErrorHandler.ThrowOnFailure(_innerVsHierarchy.Close());
 }