OutputWindowPane, interface

Mise à jour : novembre 2007

Représente un volet dans la fenêtre Sortie.

Espace de noms :  EnvDTE
Assembly :  EnvDTE (dans EnvDTE.dll)

Syntaxe

<GuidAttribute("FFC9DFC4-61CA-4B0C-83C2-0703A24F5C16")> _
Public Interface OutputWindowPane

Dim instance As OutputWindowPane
[GuidAttribute("FFC9DFC4-61CA-4B0C-83C2-0703A24F5C16")]
public interface OutputWindowPane
[GuidAttribute(L"FFC9DFC4-61CA-4B0C-83C2-0703A24F5C16")]
public interface class OutputWindowPane
public interface OutputWindowPane

Notes

La fenêtre Sortie affiche une sortie texte. Elle peut comporter un ou plusieurs volets, représentés par l'objet OutputWindowPane. Chaque outil de l'environnement IDE peut utiliser un volet différent de la fenêtre Sortie. Les volets sont sélectionnés à l'aide d'une zone déroulante, située en haut de la fenêtre. Par exemple, les erreurs qui se produisent pendant la génération s'affichent dans le volet Erreurs lors de la génération, et chaque outil de commande externe s'affiche potentiellement dans son propre volet distinct de la fenêtre Sortie.

Exemples

Sub OutputWindowPaneExample()
   ' Create a tool window handle for the Output window.
   Dim win As Window = DTE.Windows.Item(EnvDTE.Constants.vsWindowKindOutput)
   ' Create handles to the Output window and its panes.
   Dim OW As OutputWindow = win.Object
   Dim OWp As OutputWindowPane

   ' Add a new pane to the Output window.
   OWp = OW.OutputWindowPanes.Add("A New Pane")
   ' Add a line of text to the new pane.
   OWp.OutputString("Some Text")
End Sub

Voir aussi

Référence

Membres OutputWindowPane

EnvDTE, espace de noms