This documentation is archived and is not being maintained.

Visual Basic Runtime Namespace in Visual Studio

The Microsoft.VisualBasic namespace contains modules, enumerations, and attributes that provide the properties, functions, and constants you can use in Visual Basic .NET applications. Examples of functions in this namespace include:

  • Microsoft.Visual Basic.Interaction.MsgBox
  • Microsoft.Visual Basic.Interaction.Shell
  • Microsoft.Visual Basic.Strings.Mid
  • Microsoft.Visual Basic.Collection.Count

Examples of properties and constants include Microsoft.Visual Basic.DateAndTime.TimeOfDay and vbCrLf.

Examples of attributes include VBFixedStringAttribute, VBFixedArrayAttribute, and ComClassAttribute.

In the Visual Basic Documentation

Visual Basic Run-Time Library Members
Provides a complete reference for the Visual Basic run-time elements.
Describes how namespaces organize objects within assemblies.
Programming Element Support Changes Summary
Provides information on programming elements that are replaced by methods in the .NET Framework class library.
References and the Imports Statement
Discusses how to reference and use objects in assemblies.
Discusses how .NET attributes provide additional information about entities defined inside a Visual Basic .NET application

Additional Information

.NET Framework Class Library in Visual Studio
Provides an overview of the namespaces in the .NET Framework.
Introduction to the .NET Framework Class Library in Visual Studio
Explains namespaces and assemblies.