HideModuleNameAttribute Constructor

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Initializes a new instance of the HideModuleNameAttribute attribute.

Namespace:  Microsoft.VisualBasic
Assembly:  Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)

Syntax

'Declaration
Public Sub New
public HideModuleNameAttribute()

Remarks

This attribute is useful for exposing module members without showing the module itself. When using IntelliSense in the Visual Studio Integrated Development Environment (IDE) for Visual Basic, the module does not show in the statement completion list. Instead, IntelliSense shows the module members.

Even when the module name is hidden, the module members are still accessible through the module.

If a member name conflicts with another identifier or with a member of another module with the HideModuleNameAttribute attribute, then the member does not show in IntelliSense at the level of the module.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.