Microsoft.VisualBasic 命名空间

Microsoft.VisualBasic 命名空间包含支持 Visual Basic 中的 Visual Basic 运行时的类型。 The Microsoft.VisualBasic namespace contains types that support the Visual Basic Runtime in Visual Basic.

Collection

Visual Basic Collection 是可作为单元引用的一组有序项。A Visual Basic Collection is an ordered set of items that can be referred to as a unit.

ComClassAttribute

ComClassAttribute 特性指示编译器添加使类可以作为 COM 对象公开的元数据。The ComClassAttribute attribute instructs the compiler to add metadata that allows a class to be exposed as a COM object.

Constants

Constants 模块包含杂项常数。The Constants module contains miscellaneous constants. 这些常量可以在代码中的任何地方使用。These constants can be used anywhere in your code.

ControlChars

ControlChars 模块包含用作控制字符的常数。The ControlChars module contains constants used as control characters. 这些常量可以在代码中的任何地方使用。These constants can be used anywhere in your code.

Conversion

Conversion 模块包含用于执行各种转换操作的过程。The Conversion module contains the procedures used to perform various conversion operations.

DateAndTime

DateAndTime 模块包含在日期和时间操作中使用的过程和属性。The DateAndTime module contains the procedures and properties used in date and time operations.

ErrObject

ErrObject 模块包含用于使用 Err 对象标识和处理运行时错误的属性和过程。The ErrObject module contains properties and procedures used to identify and handle run-time errors using the Err object.

FileSystem

FileSystem 模块包含用于执行文件、目录或文件夹以及系统操作的过程。The FileSystem module contains the procedures that are used to perform file, directory or folder, and system operations. 与使用 My 模块相比,FileSystem 功能在文件 I/O 操作方面可为您提供更高的效率和更好的性能。The My feature gives you better productivity and performance in file I/O operations than using the FileSystem module. 有关详细信息,请参阅 FileSystemFor more information, see FileSystem.

Financial

Financial 模块包含用于执行财务运算的过程。The Financial module contains procedures used to perform financial operations.

Globals

Globals 模块包含脚本引擎函数。The Globals module contains script engine functions.

HideModuleNameAttribute

当应用于模块时,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

Information 模块包含用于返回、测试或验证信息的过程。The Information module contains the procedures used to return, test for, or verify information.

Interaction

Interaction 模块包含用于与对象、应用程序和系统交互的过程。The Interaction module contains procedures used to interact with objects, applications, and systems.

MyGroupCollectionAttribute

在 Visual Basic 中,此特性支持 My.FormsMy.WebServicesThis attribute supports My.Forms and My.WebServices in Visual Basic.

Strings

Strings 模块包含用于执行字符串操作的过程。The Strings module contains procedures used to perform string operations.

VBCodeProvider

提供对 Visual Basic 代码生成器和代码编译器的实例的访问。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

VbMath 模块包含用于执行算术操作的过程。The VbMath module contains procedures used to perform mathematical operations.

结构

SpcInfo

此类支持 Visual Basic PrintPrintLine 函数。This class supports the Visual Basic Print and PrintLine functions.

TabInfo

此类支持 Visual Basic PrintPrintLine 函数。This class supports the Visual Basic Print and PrintLine functions.

枚举

AppWinStyle

指示在调用 Shell 函数时用于被调用程序的窗口样式。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

指示在调用 CallByName 函数时调用的过程类型。Indicates the type of procedure being invoked when calling the CallByName function.

CompareMethod

指示当调用比较函数时如何比较字符串。Indicates how to compare strings when calling comparison functions.

DateFormat

指示在调用 FormatDateTime 函数时如何显示日期。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

指示在消息框上按下了哪个按钮,由 MsgBox 函数返回。Indicates which button was pressed on a message box, returned by the MsgBox function.

MsgBoxStyle

指示调用 MsgBox 函数时显示的按钮。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

指示由 VarType 函数返回的变量对象的类型。Indicates the type of a variant object, returned by the VarType function.

VbStrConv

指示调用 StrConv 函数时要执行的转换类型。Indicates which type of conversion to perform when calling the StrConv function.

注解

有关 Visual Basic 运行时中的语言元素的详细信息,请参阅Visual Basic 语言参考For more information about the language elements in the Visual Basic Runtime, see Visual Basic Language Reference.

另请参阅