29 lines
484 B
Plaintext
29 lines
484 B
Plaintext
Since Visual Studio 2010 SP1, the ``++ByVal++`` parameter modifier is implicitly applied, and therefore not required anymore. Removing it from your source code will improve readability.
|
|
|
|
|
|
== Noncompliant Code Example
|
|
|
|
----
|
|
Sub Foo(ByVal bar As String)
|
|
' ...
|
|
End Sub
|
|
----
|
|
|
|
|
|
== Compliant Solution
|
|
|
|
----
|
|
Sub Foo(bar As String)
|
|
' ...
|
|
End Sub
|
|
----
|
|
|
|
|
|
|
|
ifdef::rspecator-view[]
|
|
== Comments And Links
|
|
(visible only on this page)
|
|
|
|
include::comments-and-links.adoc[]
|
|
endif::rspecator-view[]
|