Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Optional parameters and how to deal with them
Message
De
20/05/2003 23:30:46
 
 
À
20/05/2003 23:27:21
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00790865
Message ID:
00790877
Vues:
19
>if that's internal, you're good then. Go for it! :)
>but back to your original question, I'm not sure why VB's compiler isn't accepting that.... can you post some piece of the code (class definition and methods definition)?

Here is the definiton of a function:
Private Function GetData(ByVal tcQuery As String, ByVal tnProcess As Integer) As String
End Function
Then, as soon as I added the second parameter, all those lines have been representated as an error as they only pass one parameter:
<WebMethod()> _
Public Function NetGetWishListRatingLast100() As String
   Return Me.GetData("31")
End Function
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform