Condividi tramite


FlavoredProject.IVsUIHierarchy.Close Method

Closes the project and cleans up its resources once the environment determines that it is no longer used.

Namespace:  Microsoft.VisualStudio.Shell.Flavor
Assemblies:   Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
  Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'Dichiarazione
Private Function Close As Integer Implements IVsUIHierarchy.Close
'Utilizzo
Dim instance As FlavoredProject
Dim returnValue As Integer

returnValue = CType(instance, IVsUIHierarchy).Close()
int IVsUIHierarchy.Close()
private:
virtual int Close() sealed = IVsUIHierarchy::Close
private abstract Close : unit -> int 
private override Close : unit -> int 
JScript does not support explicit interface implementations.

Return Value

Type: System.Int32
S_OK().

Implements

IVsUIHierarchy.Close()

Remarks

This method calls the Close method, which calls the Close method.

.NET Framework Security

See Also

Reference

FlavoredProject Class

FlavoredProject Members

Microsoft.VisualStudio.Shell.Flavor Namespace