WindowPane.IVsWindowPane.ClosePane Method

Closes the window pane.

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

Syntax

‘선언
Private Function ClosePane As Integer
    Implements IVsWindowPane.ClosePane
‘사용 방법
Dim instance As WindowPane
Dim returnValue As Integer

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

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

IVsWindowPane.ClosePane()

.NET Framework Security

See Also

Reference

WindowPane Class

WindowPane Members

Microsoft.VisualStudio.Shell Namespace