Partager via


IExplorerNodeCollection.Add, méthode (String, String, IDictionary<Object, Object>)

Crée un nouvel objet IExplorerNode et l'ajoute à la collection.

Espace de noms :  Microsoft.VisualStudio.SharePoint.Explorer
Assembly :  Microsoft.VisualStudio.SharePoint (dans Microsoft.VisualStudio.SharePoint.dll)

Syntaxe

'Déclaration
Function Add ( _
    nodeTypeId As String, _
    text As String, _
    annotations As IDictionary(Of Object, Object) _
) As IExplorerNode
IExplorerNode Add(
    string nodeTypeId,
    string text,
    IDictionary<Object, Object> annotations
)

Paramètres

  • text
    Type : System.String
    Texte à afficher avec le nouveau nœud.

Valeur de retour

Type : Microsoft.VisualStudio.SharePoint.Explorer.IExplorerNode
Nouvelle IExplorerNode.

Notes

Pour plus d'informations sur l'utilisation de la propriété Annotations, consultez Association de données personnalisées à des extensions d'outils SharePoint.

Sécurité .NET Framework

Voir aussi

Référence

IExplorerNodeCollection Interface

Add, surcharge

Microsoft.VisualStudio.SharePoint.Explorer, espace de noms