Udostępnij za pośrednictwem


EditorControl.ClosePane Method

Closes the window and disposes the resources.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)

Syntax

'Declaration
Public Overrides Function ClosePane As Integer
public override int ClosePane()
public:
virtual int ClosePane() override
abstract ClosePane : unit -> int 
override ClosePane : unit -> int 
public override function ClosePane() : int

Return Value

Type: System.Int32
S_OK if the method succeeded, otherwise an error code.

Implements

IVsWindowPane.ClosePane()

.NET Framework Security

See Also

Reference

EditorControl Class

Microsoft.VisualStudio.Package Namespace