ByVal is "gone"

JohnH

VB.NET Forum Moderator
Staff member
Joined
Dec 17, 2005
Messages
15,800
Location
Norway
Programming Experience
10+
With the 2010 SP1 released today one of the improvements is that editor no longer inserts the default ByVal passing instruction for parameters. I like that! :) It cleans up things we don't need to see, similar to auto-implemented properties that was added in VB 2010 and relaxed delegates from VB 2008.
It can still be explicitly written in code, it won't be removed in that case, and it also is not removed from existing code (you can do a Replace All to remove them now).
 
John,

Do you have a link to a good list of what's changed for VB'ers in VS 2010 SP1?
 
This is the complete fix/service-list: Description of Visual Studio 2010 Service Pack 1
The ByVal change is listed under "Visual Basic Editor". There are also specific fixes like "Visual Basic Compiler", but many of the other fixes for various areas of IDE and other may also be relevant for VB'ers.
 
Back
Top