共用方式為


WindowPane.IVsWindowPane.ClosePane Method

Definition

Caution

The IVsWindowPane interface on the WindowPane is obsolete, use IVsUIElementPane

Closes the window pane. Obsolete.

 virtual int Microsoft.VisualStudio.Shell.Interop.IVsWindowPane.ClosePane() = Microsoft::VisualStudio::Shell::Interop::IVsWindowPane::ClosePane;
 virtual int Microsoft.VisualStudio.Shell.Interop.IVsWindowPane.ClosePane() = Microsoft::VisualStudio::Shell::Interop::IVsWindowPane::ClosePane;
int Microsoft.VisualStudio.Shell.Interop.IVsWindowPane.ClosePane();
[System.Obsolete("The IVsWindowPane interface on the WindowPane is obsolete, use IVsUIElementPane")]
int IVsWindowPane.ClosePane ();
[<System.Obsolete("The IVsWindowPane interface on the WindowPane is obsolete, use IVsUIElementPane")>]
abstract member Microsoft.VisualStudio.Shell.Interop.IVsWindowPane.ClosePane : unit -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsWindowPane.ClosePane : unit -> int
Function ClosePane () As Integer Implements IVsWindowPane.ClosePane

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

Attributes

Remarks

The <xref:Microsoft.VisualStudio.Shell.Interop.>IVsWindowPane.ClosePane interface on this class is obsolete. Please use <xref:Microsoft.VisualStudio.Shell.Interop.>IVsWindowPane.ClosePane instead.

Applies to