VB.NET Hide Module Name
Here’s a quick tip for those of you still using modules in your VB.NET applications.
If you create a module and don’t want to see the module name in your intellisense, you can hide it with an attribute. This can be extremely useful when you have a lot of modules that would show up in your intellisense code and they don’t have names that conflict with each other.
<HideModuleName()> _ Module Module1 Sub NewFunction() Return End Sub End Module
You can still reference NewFunction() via Module1
Module1.NewFunction()
But Module1 will no longer show in intellisense.
Other post in Advanced VB.NET
- VB.NET - Char from String with Option Strict - April 8th, 2009
- .Net String Pool – Not Just For The Compiler - April 22nd, 2009
- VB.NET Hide Module Name - June 22nd, 2009
- Manually Adding Event Handlers in VB.NET - July 15th, 2009
- VB.NET Nullable Value Types - July 22nd, 2009
- VB.NET Processing Before WinForm Display - August 6th, 2009
Other Related Items:
OmniMount CMK 4-Inch Cable Management CoversKeep your computer wires in neat and in order. Looks good and saves space. Modular designPaint to match any wallCovers can be cut to any length. 4-Inch Cable Management Covers.
Kiva Hide-Away DuffelFront pouch pocket is gusseted and has an added zipper flat mesh pocket.
CITIBLOCS Original Wooden Building Block Set - 300 Piece300 Pieces for a amazing start to the Citiblocs adventure! Guaranteed fun for all ages, Citiblocs develop logical thinking & confidence. Build, inven... Read More >









