Metodo WindowPane.IVsWindowPane.ClosePane

Nota: questa API è ora obsoleta.

chiude il riquadro.obsoleto.

Spazio dei nomi:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Sintassi

'Dichiarazione
<ObsoleteAttribute("The IVsWindowPane interface on the WindowPane is obsolete, use IVsUIElementPane")> _
Private Function ClosePane As Integer
    Implements IVsWindowPane.ClosePane
[ObsoleteAttribute("The IVsWindowPane interface on the WindowPane is obsolete, use IVsUIElementPane")]
int IVsWindowPane.ClosePane()

Valore restituito

Tipo: System.Int32
Se il metodo ha esito positivo, restituisce S_OK.Se non riesce, restituisce un codice di errore.

Implementa

IVsWindowPane.ClosePane()

Note

l'interfaccia di [T:Microsoft.VisualStudio.Shell.Interop.][IVsWindowPane] su questa classe è obsoleta. utilizzo [T:Microsoft.VisualStudio.Shell.Interop.][IVsUIElementPane] anziché.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

WindowPane Classe

Spazio dei nomi Microsoft.VisualStudio.Shell