ListBox.IntegerCollection.AddRange 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.
Ajoute un groupe d’entiers à la collection.
Surcharges
| Nom | Description |
|---|---|
| AddRange(Int32[]) |
Ajoute un tableau d’entiers à la collection. |
| AddRange(ListBox+IntegerCollection) |
Ajoute le contenu d’une collection existante ListBox.IntegerCollection à une autre collection. |
AddRange(Int32[])
Ajoute un tableau d’entiers à la collection.
public:
void AddRange(cli::array <int> ^ items);
public void AddRange(int[] items);
member this.AddRange : int[] -> unit
Public Sub AddRange (items As Integer())
Paramètres
- items
- Int32[]
Tableau d’entiers à ajouter à la collection.
Remarques
Le tableau d’entiers est ajouté à la collection et les doublons sont supprimés de la collection.
S’applique à
AddRange(ListBox+IntegerCollection)
Ajoute le contenu d’une collection existante ListBox.IntegerCollection à une autre collection.
public:
void AddRange(System::Windows::Forms::ListBox::IntegerCollection ^ value);
public void AddRange(System.Windows.Forms.ListBox.IntegerCollection value);
member this.AddRange : System.Windows.Forms.ListBox.IntegerCollection -> unit
Public Sub AddRange (value As ListBox.IntegerCollection)
Paramètres
À ListBox.IntegerCollection ajouter à une autre collection.
Remarques
Le contenu de l’existant ListBox.IntegerCollection est ajouté à la collection active et les doublons sont supprimés de la collection combinée.