Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Collection is removed from memory after a while
Message
De
15/11/2013 14:23:53
 
 
À
15/11/2013 14:21:37
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01588067
Message ID:
01588085
Vues:
19
>>The answer is in the sample
>>
>>If TryGetValue() returns true, it was in
>>
>>There's also ContainsKey() - but TryGetValue() tells you whether the image was in and if it was returns the data via the out parameter
>>
>>http://msdn.microsoft.com/en-us/library/xfhwa508(v=vs.110).aspx
>
>Thanks, so you would recommand TryGetValue() instead of ContainsKey(). Is that correct?

If you need the data, use TryGetValue(). If you only need to know if it exists, use ContainsKey().
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform