Partager via


TreeView, constructeur (Factory, IHostItemProvider, IServiceProvider, String, String, Object, String)

This API supports the Visual Studio infrastructure and is not intended to be used directly from your code.

Espace de noms :  Microsoft.Office.Tools.Word.Controls
Assembly :  Microsoft.Office.Tools.Word.v4.0.Utilities (dans Microsoft.Office.Tools.Word.v4.0.Utilities.dll)

Syntaxe

'Déclaration
Public Sub New ( _
    factory As Factory, _
    hostItemProvider As IHostItemProvider, _
    serviceProvider As IServiceProvider, _
    cookie As String, _
    extenderCookie As String, _
    container As Object, _
    identifier As String _
)
public TreeView(
    Factory factory,
    IHostItemProvider hostItemProvider,
    IServiceProvider serviceProvider,
    string cookie,
    string extenderCookie,
    Object container,
    string identifier
)

Paramètres

Notes

N'utilisez pas le constructeur pour créer un nouveau TreeView. Utilisez la méthode AddTreeView() pour ajouter un nouveau TreeView à un document. Pour plus d'informations, consultez Ajout de contrôles à des documents Office au moment de l'exécution.

Sécurité .NET Framework

Voir aussi

Référence

TreeView Classe

TreeView, surcharge

Microsoft.Office.Tools.Word.Controls, espace de noms