OutputWindowPanes.Item(Object) Méthode
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.
Retourne un objet OutputWindowPane dans une collection OutputWindowPanes.
public:
EnvDTE::OutputWindowPane ^ Item(System::Object ^ index);
public:
EnvDTE::OutputWindowPane ^ Item(Platform::Object ^ index);
EnvDTE::OutputWindowPane Item(winrt::Windows::Foundation::IInspectable const & index);
[System.Runtime.InteropServices.DispId(0)]
public EnvDTE.OutputWindowPane Item (object index);
[<System.Runtime.InteropServices.DispId(0)>]
abstract member Item : obj -> EnvDTE.OutputWindowPane
Public Function Item (index As Object) As OutputWindowPane
Paramètres
- index
- Object
Obligatoire. Index de l'objet OutputWindowPane à retourner.
Retours
Objet OutputWindowPane.
- Attributs
Remarques
La valeur passée à Index est :
Entier qui est un index d’un OutputWindowPane objet dans sa OutputWindowPanes collection.
Par exemple :
OutputWindowPanes.Item(4).-ou-
Nom d’un OutputWindowPane dans la collection.
Par exemple, si vous avez une fenêtre de sortie nommée My Fenêtre Sortie, plutôt que de faire référence à celle-ci par sa valeur d’index, vous pouvez plutôt y faire référence par son nom, tel que
OutputWindowPanes.Item("My Output Window").
La Item méthode lève une ArgumentException exception si la collection ne peut pas trouver l’objet qui correspond à la valeur d’index.