Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Initializing an object
Message
 
À
19/01/2006 16:51:43
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01088686
Message ID:
01088693
Vues:
7
Michel,

You could use an ArrayList instead. I typically use ArrayLists over Arrays or the new generic List in 2005. I believe the ArrayList has a Clear method also (in response to your other post).

HTH,
Chad


>I have an object which is initialized like this:
>
>
>    Private oParameters(25, 2) As Object
>
>
>I put 25 for now to be sure to have enough. But, is there a way to initialize that to its minimum and redefine this object for the desired length when I will need it? So, for exemple, if I have 13 parameters, I will only define it for 13 rows. This gathers data adapter parameters, so it is not known how many it would be. At run time, after a process, I can clear all that and restart over with another length.
_________________________________
There are 2 types of people in the world:
    Those who need closure
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform