Redigera

Dela via


Microsoft.VisualBasic Namespace

Contains types that support the Visual Basic Runtime in Visual Basic.

Classes

Collection

A Visual Basic Collection is an ordered set of items that can be referred to as a unit.

ComClassAttribute

The ComClassAttribute attribute instructs the compiler to add metadata that allows a class to be exposed as a COM object.

Constants

The Constants module contains miscellaneous constants. These constants can be used anywhere in your code.

ControlChars

The ControlChars module contains constants used as control characters. These constants can be used anywhere in your code.

Conversion

The Conversion module contains the procedures used to perform various conversion operations.

DateAndTime

The DateAndTime module contains the procedures and properties used in date and time operations.

ErrObject

The ErrObject module contains properties and procedures used to identify and handle run-time errors using the Err object.

FileSystem

The FileSystem module contains the procedures that are used to perform file, directory or folder, and system operations. The My feature gives you better productivity and performance in file I/O operations than using the FileSystem module. For more information, see FileSystem.

Financial

Contains procedures used to perform financial operations.

Globals

The Globals module contains script engine functions.

HideModuleNameAttribute

The HideModuleNameAttribute attribute, when applied to a module, allows the module members to be accessed using only the qualification needed for the module.

Information

The Information module contains the procedures used to return, test for, or verify information.

Interaction

The Interaction module contains procedures used to interact with objects, applications, and systems.

MyGroupCollectionAttribute

This attribute supports My.Forms and My.WebServices in Visual Basic.

Strings

The Strings module contains procedures used to perform string operations.

VBCodeProvider

Provides access to instances of the Visual Basic code generator and code compiler.

VBFixedArrayAttribute

Indicates that an array in a structure or non-local variable should be treated as a fixed-length array.

VBFixedStringAttribute

Indicates that a string should be treated as if it were fixed length.

VBMath

The VbMath module contains procedures used to perform mathematical operations.

Structs

SpcInfo

This class supports the Visual Basic Print and PrintLine functions.

TabInfo

This class supports the Visual Basic Print and PrintLine functions.

Enums

AppWinStyle

Indicates the window style to use for the invoked program when calling the Shell function.

AudioPlayMode

Indicates how to play sounds when calling audio methods.

CallType

Indicates the type of procedure being invoked when calling the CallByName function.

CompareMethod

Indicates how to compare strings when calling comparison functions.

DateFormat

Indicates how to display dates when calling the FormatDateTime function.

DateInterval

Indicates how to determine and format date intervals when calling date-related functions.

DueDate

Indicates when payments are due when calling financial methods.

FileAttribute

Indicates the file attributes to use when calling file-access functions.

FirstDayOfWeek

Indicates the first day of the week to use when calling date-related functions.

FirstWeekOfYear

Indicates the first week of the year to use when calling date-related functions.

MsgBoxResult

Indicates which button was pressed on a message box, returned by the MsgBox function.

MsgBoxStyle

Indicates which buttons to display when calling the MsgBox function.

OpenAccess

Indicates how to open a file when calling file-access functions.

OpenMode

Indicates how to open a file when calling file-access functions.

OpenShare

Indicates how to open a file when calling file-access functions.

TriState

Indicates a Boolean value or whether the default should be used when calling number-formatting functions.

VariantType

Indicates the type of a variant object, returned by the VarType function.

VbStrConv

Indicates which type of conversion to perform when calling the StrConv function.

Remarks

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

See also