ListView.ColumnHeaderCollection.IList.Insert(Int32, Object) Méthode

Définition

Insère un en-tête de colonne existant dans la collection à l'index spécifié.

 virtual void System.Collections.IList.Insert(int index, System::Object ^ value) = System::Collections::IList::Insert;
void IList.Insert (int index, object value);
abstract member System.Collections.IList.Insert : int * obj -> unit
override this.System.Collections.IList.Insert : int * obj -> unit
Sub Insert (index As Integer, value As Object) Implements IList.Insert

Paramètres

index
Int32

Position d'index de base zéro où l'en-tête de colonne est inséré.

value
Object

ColumnHeader à insérer dans la collection.

Implémente

Exceptions

index est inférieur à zéro, ou supérieur ou égal à la valeur de la propriété Count de ListView.ColumnHeaderCollection.

S’applique à