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
'宣言
Private Function Close As Integer Implements IVsUIHierarchy.Close
'使用
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
Remarks
This method calls the Close method, which calls the Close method.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.