Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding two items at the top of an ArrayList
Message
De
10/03/2008 02:44:11
 
 
À
10/03/2008 01:29:37
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01300389
Message ID:
01300390
Vues:
9
>What would be the best technique to use to add two new items on top of an ArrayList when I have some items already in it and I would need those items to drop down by two positions each?

I would think: ArrayList.Insert()

This example show how to add 2 items at once:

http://msdn2.microsoft.com/en-us/library/system.collections.arraylist.insert(VS.71).aspx

(You'll have to cut and paste the URL, the autolink is skipping the .aspx)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform