Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Return 2 values from a function
Message
From
15/10/2008 14:54:02
John Baird
Coatesville, Pennsylvania, United States
 
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB 9.0
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01355203
Message ID:
01355214
Views:
23
>Hi All,
>
>I need to return 2 values from a VB.NET function. One is data type integer and the other string.
>What is the best approach to acomplish that?
>
>Thanks,
>Daniel


You may wish to look at your design. A function should perform a single job and return a single value, if you have the need to do more, then I think inherently something is wrong.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform