Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Optional DateTime parameter in VB.NET????
Message
 
To
13/08/2004 12:23:09
Max Fillmore
Essential Skills, Inc.
Lenexa, Kansas, United States
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00933162
Message ID:
00933302
Views:
11
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform