Share via


OutputWindowPanes, interface

Contient tous les volets de la fenêtre Sortie dans l'environnement de développement intégré (IDE, Integrated Development Environment).

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

Syntaxe

'Déclaration
<GuidAttribute("B02CF62A-9470-4308-A521-9675FBA395AB")> _
Public Interface OutputWindowPanes _
    Inherits IEnumerable
[GuidAttribute("B02CF62A-9470-4308-A521-9675FBA395AB")]
public interface OutputWindowPanes : IEnumerable
[GuidAttribute(L"B02CF62A-9470-4308-A521-9675FBA395AB")]
public interface class OutputWindowPanes : IEnumerable
[<GuidAttribute("B02CF62A-9470-4308-A521-9675FBA395AB")>]
type OutputWindowPanes =  
    interface 
        interface IEnumerable 
    end
public interface OutputWindowPanes extends IEnumerable

Le type OutputWindowPanes expose les membres suivants.

Propriétés

  Nom Description
Propriété publique Count Obtient une valeur indiquant le nombre d'objets OutputWindowPane de la collection.
Propriété publique DTE Obtient l'objet d'extensibilité de niveau supérieur.
Propriété publique Parent Obtient l'objet parent immédiat d'une collection OutputWindowPanes.

Début

Méthodes

  Nom Description
Méthode publique Add Crée un volet de fenêtre Sortie et l'ajoute à la collection.
Méthode publique GetEnumerator Retourne un énumérateur pour les éléments de la collection.
Méthode publique Item Retourne un objet OutputWindowPane dans une collection OutputWindowPanes.

Début

Exemples

Sub OutputWindowPanesExample()
   ' 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

EnvDTE, espace de noms