VB.NET Module - Can I force the use of .Public_Member_Name when accessing pub. Members?

后端 未结 3 575
有刺的猬
有刺的猬 2020-12-21 23:54

I have a situation where I have several VB.NET Modules in the same Logical-Module of a large application.

I would like the update function of each module to be publ

3条回答
  •  眼角桃花
    2020-12-22 00:19

    Yes, it is possible, if you are willing to wrap the module within a namespace of the same name as the module:

        Namespace ModuleName
            Module ModuleName
            ...
            End Module
        End Namespace
    

提交回复
热议问题