Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Implementing IDisposable in a class
Message
De
14/02/2014 15:23:11
 
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:
01594093
Message ID:
01594333
Vues:
41
>I hate to insist, but according to http://msdn.microsoft.com/en-us/library/htd05whh.aspx
>
>you use "as" and not "=" in using.
>
>I think your problem is that you assign a member of an object in using; It should be an untyped local variable. Using end using is implemented as a block. You might assign the member within the using block, and pass it as parameters.

Both does not work.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform