Hello,
"Mark Kamoski" <(E-Mail Removed)> schrieb:
> What is the default access modifier value for a Sub
> or a Function when one has not explicitly been set.
[...]
> simply writes a method such as...
>
> Sub DoSomething()
>
> '...
>
> End Sub
>
> ...what default access modifier is applied to this method?
\\\
Class Foo
Sub Bla()
End Sub
End Class
///
will declare Foo as Friend and Bla as Public. Open the object browser
to check the modifier. I always specify the modifier...
;-)
Regards,
Herfried K. Wagner
--
MVP · VB Classic, VB .NET
http://www.mvps.org/dotnet