Condividi tramite


Microsoft.VisualBasic Namespace

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

The Microsoft.VisualBasic namespace contains types that support the Visual Basic Runtime.

For more information about the language elements in the Visual Basic Runtime, see the Visual Basic documentation.

Classes

  Class Description
Public class Collection A Visual Basic Collection is an ordered set of items that can be referred to as a unit.
Public class Constants The Constants module contains miscellaneous constants. These constants can be used anywhere in your code.
Public class ControlChars The ControlChars module contains constants used as control characters. These constants can be used anywhere in your code.
Public class Conversion The Conversion module contains the procedures used to perform various conversion operations.
Public class DateAndTime The DateAndTime module contains the procedures and properties used in date and time operations.
Public class ErrObject The ErrObject module contains properties and procedures used to identify and handle run-time errors using the Err object.
Public class Globals The Globals module contains script engine functions.
Public class HideModuleNameAttribute The HideModuleNameAttribute attribute, when applied to a module, allows the module members to be accessed using only the qualification needed for the module.
Public class Information The Information module contains the procedures used to return, test for, or verify information.
Public class Interaction The Interaction module contains procedures used to interact with objects, applications, and systems.
Public class MyGroupCollectionAttribute Infrastructure. Specifies that the class will be modified based on the type identified by the MyGroupName property.
Public class Strings The Strings module contains procedures used to perform string operations.
Public class VBMath The VbMath module contains procedures used to perform mathematical operations.

Enumerations

  Enumeration Description
Public enumeration CallType Indicates the type of procedure being invoked when calling the CallByName function.
Public enumeration CompareMethod Indicates how to compare strings when calling comparison functions.
Public enumeration DateFormat Indicates how to display dates when calling the FormatDateTime function.
Public enumeration DateInterval Indicates how to determine and format date intervals when calling date-related functions.
Public enumeration FirstDayOfWeek Indicates the first day of the week to use when calling date-related functions.
Public enumeration FirstWeekOfYear Indicates the first week of the year to use when calling date-related functions.
Public enumeration TriState Indicates a Boolean value or whether the default should be used when calling number-formatting functions.
Public enumeration VariantType Indicates the type of a variant object, returned by the VarType function.