TreeNodeCollection.IList.Insert(Int32, 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.
Insère un nœud d’arborescence existant dans la collection de nœuds d’arborescence à l’emplacement spécifié.
virtual void System.Collections.IList.Insert(int index, System::Object ^ node) = System::Collections::IList::Insert;
void IList.Insert(int index, object node);
void IList.Insert(int index, object? node);
abstract member System.Collections.IList.Insert : int * obj -> unit
override this.System.Collections.IList.Insert : int * obj -> unit
Sub Insert (index As Integer, node As Object) Implements IList.Insert
Paramètres
- index
- Int32
Emplacement indexé dans la collection pour insérer le nœud d’arborescence.
Implémente
Exceptions
Remarques
Si la Sorted propriété est définie truesur , le index paramètre est ignoré. L’arborescence TreeNode est insérée et triée TreeView à nouveau.