Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Optional DateTime parameter in VB.NET????
Message
 
À
13/08/2004 12:23:09
Max Fillmore
Essential Skills, Inc.
Lenexa, Kansas, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00933162
Message ID:
00933302
Vues:
12
Hi Max,

You can get the results you want using overloads.
Private Overloads Sub Foo(ByVal i As Integer)
    Foo(i, DateTime.MinValue)
End Sub

Private Overloads Sub Foo(ByVal i As Integer, ByVal d As Date)
    ' code here
End Sub
---
Rob Windsor [MVP-VB]
G6 Consulting
Toronto, Canada
http://www.msmvps.com/windsor
http://www.g6consulting.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform