Skip to Main Content
VB.Net Web Developer's Guide
book

VB.Net Web Developer's Guide

by Syngress
September 2001
Intermediate to advanced content levelIntermediate to advanced
608 pages
23h 46m
English
Syngress
Content preview from VB.Net Web Developer's Guide
672 Chapter 14 • Upgrading Visual Basic Applications to .NET
Passing Parameters
The default parameter passing mechanism in Visual Basic 6.0 is ByRef.This
means that any change made to the parameter in the called program is reflected
in the calling program. Of course, such passing mechanisms have their pros and
cons. In Visual Basic .NET, on the other hand, the default parameter passing
mechanism is ByVal.When parameters are passed ByVal, any changes made to the
parameter values are effective only in the called function.The original values
present in the calling function are not affected.
When an argument is passed as ByVal, a copy of the variables is ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

VB.NET Core Classes in a Nutshell

VB.NET Core Classes in a Nutshell

Budi Kurniawan, Ted Neward

Publisher Resources

ISBN: 9781928994480