Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Weird behavior with Imports System.IO
Message
De
23/08/2005 14:52:47
 
 
À
23/08/2005 14:22:49
Keith Payne
Technical Marketing Solutions
Floride, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01042897
Message ID:
01043036
Vues:
16
>Yeah, I took another look at that error message. I think that the function declaration is implicitly overloading another Directory function in the same namespace. The other Directory function accepts a single string paramter, and therefore the CLR does not know which function to call. Usually the error message associated with overloading a function with the same argument
list is more descriptive. This error message may have something to do with the Shared declaration.

It is correct. There is a function a few lines above named Directory to check if a directory exist. That explains why putting only IO in front was making it work as well because it was referenced. But, only the name was not enough in this case because a function of that name exists in the same file.
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