OutputWindowPanes Interface
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Contient tous les volets de la fenêtre sortie dans l’environnement de développement intégré (IDE).
public interface class OutputWindowPanes : System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("B02CF62A-9470-4308-A521-9675FBA395AB")]
[System.Runtime.InteropServices.TypeLibType(4160)]
public interface OutputWindowPanes : System.Collections.IEnumerable
[<System.Runtime.InteropServices.Guid("B02CF62A-9470-4308-A521-9675FBA395AB")>]
[<System.Runtime.InteropServices.TypeLibType(4160)>]
type OutputWindowPanes = interface
interface IEnumerable
Public Interface OutputWindowPanes
Implements IEnumerable
- Attributs
- Implémente
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
Propriétés
| Count |
Obtient une valeur indiquant le nombre d'objets OutputWindowPane de la collection. |
| DTE |
Obtient l'objet d'extensibilité de niveau supérieur. |
| Parent |
Obtient l'objet parent immédiat d'une collection OutputWindowPanes. |
Méthodes
| Add(String) |
Crée un volet de fenêtre sortie et l’ajoute à la collection. |
| GetEnumerator() |
Retourne un énumérateur pour les éléments de la collection. |
| Item(Object) |
Retourne un objet OutputWindowPane dans une collection OutputWindowPanes. |