Microsoft.VisualBasic.Compatibility.VB6 命名空间

Microsoft.VisualBasic.Compatibility.VB6 命名空间中的函数和对象是提供给用于将 Visual Basic 6.0 升级到 Visual Basic 2008 的工具使用的。 The Microsoft.VisualBasic.Compatibility.VB6 namespace contains functions and objects provided use by the tools for upgrading from Visual Basic 6.0 to Visual Basic 2008.

ADODC

提供与 Visual Basic 6.0 ADO Data Control之间的兼容性,使您可以使用 Microsoft ActiveX 数据对象 (ADO) 创建到数据库的连接。Provides compatibility with the Visual Basic 6.0 ADO Data Control, which enabled you to create a connection to a database using Microsoft ActiveX Data Objects (ADO).

ADODCArray

提供 ADODC 控件的控件数组。Provides a control array of ADODC controls.

BaseControlArray

实现从 Visual Basic 6.0 升级的应用程序中控件数组的通用基本功能。Implements the basic functionality common to control arrays in applications upgraded from Visual Basic 6.0.

BaseDataEnvironment

在已从 Visual Basic 6.0 升级的应用程序中模拟 Visual Basic 6.0 Data EnvironmentEmulates a Visual Basic 6.0 Data Environment in applications that have been upgraded from Visual Basic 6.0.

BaseOcxArray

提供 ActiveX 控件的控件数组。Provides a control array of ActiveX controls.

BindingCollectionEnumerator

支持在从 Visual Basic 6.0 升级的应用程序中对绑定集合进行简单迭代。Supports a simple iteration over a binding collection in an application upgraded from Visual Basic 6.0.

ButtonArray

提供 Button 控件的控件数组。Provides a control array of Button controls.

CheckBoxArray

提供 CheckBox 控件的控件数组。Provides a control array of CheckBox controls.

CheckedListBoxArray

提供 CheckedListBox 控件的控件数组。Provides a control array of CheckedListBox controls.

ColorDialogArray

提供 ColorDialog 控件的控件数组。Provides a control array of ColorDialog controls.

ComboBoxArray

提供 ComboBox 控件的控件数组。Provides a control array of ComboBox controls.

DirListBox

运行时显示目录和路径。Displays directories and paths at run time.

DirListBoxArray

提供 DirListBox 控件的控件数组。Provides a control array of DirListBox controls.

DriveListBox

使用户能够在运行时选择有效的磁盘驱动器。Enables a user to select a valid disk drive at run time.

DriveListBoxArray

提供 DriveListBox 控件的控件数组。Provides a control array of DriveListBox controls.

FileListBox

查找并列出在运行时由 Path 属性指定的目录中的文件。Locates and lists files in the directory specified by the Path property at run time.

FileListBoxArray

提供 FileListBox 控件的控件数组。Provides a control array of FileListBox controls.

FixedLengthString

模拟 Visual Basic 6.0 定长串的行为。Emulates the behavior of a Visual Basic 6.0 fixed-length string.

FontDialogArray

提供 FontDialog 控件的控件数组。Provides a control array of FontDialog controls.

GroupBoxArray

提供 GroupBox 控件的控件数组。Provides a control array of GroupBox controls.

HScrollBarArray

提供 HScrollBar 控件的控件数组。Provides a control array of HScrollBar controls.

ImageListArray

提供 ImageList 控件的控件数组。Provides a control array of ImageList controls.

LabelArray

提供 Label 控件的控件数组。Provides a control array of Label controls.

ListBoxArray

提供 ListBox 控件的控件数组。Provides a control array of ListBox controls.

ListBoxItem

表示从 Visual Basic 6.0 升级的应用程序内 ListBoxComboBox 控件中的一项。Represents an item in a ListBox or ComboBox control in an application that was upgraded from Visual Basic 6.0.

ListViewArray

提供 ListView 控件的控件数组。Provides a control array of ListView controls.

MaskedTextBoxArray

提供 MaskedTextBox 控件的控件数组。Provides a control array of MaskedTextBox controls.

MBinding

可使 Windows 窗体控件绑定到 ADO 记录集。Enables Windows Forms controls to be bound to ADO recordsets. 此类型是 Visual Basic 6.0 msbind 库的托管等效项。This type is a managed equivalent of the Visual Basic 6.0 msbind library.

MBindingCollection

提供一个接口,以在从 Visual Basic 6.0 升级的应用程序中替换基于 COM 的数据绑定。Provides an interface to replace COM-based data binding in an application upgraded from Visual Basic 6.0.

MenuItemArray

提供 MenuItem 控件的控件数组。Provides a control array of MenuItem controls.

OpenFileDialogArray

提供 OpenFileDialog 控件的控件数组。Provides a control array of OpenFileDialog controls.

PanelArray

提供 Panel 控件的控件数组。Provides a control array of Panel controls.

PictureBoxArray

提供 PictureBox 控件的控件数组。Provides a control array of PictureBox controls.

PrintDialogArray

提供 PrintDialog 控件的控件数组。Provides a control array of PrintDialog controls.

ProgressBarArray

提供 ProgressBar 控件的控件数组。Provides a control array of ProgressBar controls.

RadioButtonArray

提供 RadioButton 控件的控件数组。Provides a control array of RadioButton controls.

RichTextBoxArray

提供 RichTextBox 控件的控件数组。Provides a control array of RichTextBox controls.

SaveFileDialogArray

提供 SaveFileDialog 控件的控件数组。Provides a control array of SaveFileDialog controls.

SRDescriptionAttribute

提供一个特性,供工具用于将 Visual Basic 6.0 应用程序升级到 Visual Basic。Provides an attribute for use in upgrading Visual Basic 6.0 applications to Visual Basic.

StatusBarArray

提供 StatusBar 控件的控件数组。Provides a control array of StatusBar controls.

StatusStripArray

提供 StatusStrip 控件的控件数组。Provides a control array of StatusStrip controls.

Support

包含各种用于与 Visual Basic 6.0 向后兼容的实用工具函数。Contains various utility functions for backward compatibility with Visual Basic 6.0.

TabControlArray

提供 TabControl 控件的控件数组。Provides a control array of TabControl controls.

TextBoxArray

提供 TextBox 控件的控件数组。Provides a control array of TextBox controls.

TimerArray

提供 Timer 控件的控件数组。Provides a control array of Timer controls.

ToolBarArray

提供 ToolBar 控件的控件数组。Provides a control array of ToolBar controls.

ToolStripArray

提供 ToolStrip 控件的控件数组。Provides a control array of ToolStrip controls.

ToolStripMenuItemArray

提供 ToolStripMenuItem 控件的控件数组。Provides a control array of ToolStripMenuItem controls.

TreeViewArray

提供 TreeView 控件的控件数组。Provides a control array of TreeView controls.

VScrollBarArray

提供 VScrollBar 控件的控件数组。Provides a control array of VScrollBar controls.

WebBrowserArray

提供 WebBrowser 控件的控件数组。Provides a control array of WebBrowser controls.

WebClass

使已升级的 Visual Basic 6.0 WebClass 项目能够在 ASP.NET 中运行。Enables upgraded Visual Basic 6.0 WebClass projects to run in ASP.NET.

WebClassContainingClassNotOptional

如果缺少 ContainingClass 值,则引发 ExceptionRaises an Exception if the ContainingClass value is missing.

WebClassCouldNotFindEvent

如果 Exception 中缺少事件参数,则引发 WebClassRaises an Exception for a missing event parameter in a WebClass.

WebClassNextItemCannotBeCurrentWebItem

Exception 中引发 WebClassRaises an Exception in a WebClass.

WebClassNextItemRespondNotFound

Exception 中引发 WebClassRaises an Exception in a WebClass.

WebClassUserWebClassNameNotOptional

如果缺少 UserWebClassName 值,则引发 ExceptionRaises an Exception if the UserWebClassName value is missing.

WebClassWebClassFileNameNotOptional

如果缺少 WebClassFileName 值,则引发 ExceptionRaises an Exception if the WebClassFileName value is missing.

WebClassWebItemNotValid

如果 Exception 值无效,则引发 WebItemRaises an Exception if the WebItem value is not valid.

WebItem

使已升级的 Visual Basic 6.0 WebClass 项目能够在 ASP.NET 中运行。Enables upgraded Visual Basic 6.0 WebClass projects to run in ASP.NET.

WebItemAssociatedWebClassNotOptional

如果缺少 ExceptionAssociatedWebClass 值,则引发 WebItemRaises an Exception if the AssociatedWebClass value for a WebItem is missing.

WebItemClosingTagNotFound

如果丢失与 WebItem 关联的模板的结束标记,则引发 ExceptionRaises an Exception if the closing tag for a template associated with a WebItem is missing.

WebItemCouldNotLoadEmbeddedResource

如果缺少在 Exception 中指定的嵌入资源,则引发 WebItemRaises an Exception when an embedded resource specified in a WebItem is missing.

WebItemCouldNotLoadTemplateFile

如果缺少 Exception 的模板文件,则引发 WebItemRaises an Exception if a template file for a WebItem is missing.

WebItemNameNotOptional

如果缺少 ExceptionName 值,则引发 WebItemRaises an Exception if the Name value for a WebItem is missing.

WebItemNoTemplateSpecified

如果缺少 ExceptionTemplate 值,则引发 WebItemRaises an Exception if the Template value for a WebItem is missing.

WebItemTooManyNestedTags

如果 Exception 的模板包含过多的嵌套标记,则引发 WebItemRaises an Exception if the template for a WebItem contains too many nested tags.

WebItemUnexpectedErrorReadingTemplateFile

如果无法打开或读取 Exception 的模板,则引发 WebItemRaises an Exception if the template for a WebItem cannot be opened or read.

结构

CONNECTDATA

一个 Structure,其中包含由已从 Visual Basic 6.0 升级的应用程序使用的数据。A Structure that contains data that is used internally by an application that has been upgraded from Visual Basic 6.0.

DBBINDING

提供一个 Structure,它表示从 Visual Basic 6.0 升级的应用程序中的 ADO 绑定。Provides a Structure that represents an ADO binding in an application that has been upgraded from Visual Basic 6.0.

DBCOLUMNINFO

一个 Structure,其中包含由已从 Visual Basic 6.0 升级的应用程序使用的数据。A Structure that contains data that is used internally by an application that has been upgraded from Visual Basic 6.0.

DBID

提供一个 Structure,供已从 Visual Basic 6.0 升级的应用程序内部使用。Provides a Structure that is used internally in an application that has been upgraded from Visual Basic 6.0.

DBPROPIDSET

提供一个 Structure,以便在已从 Visual Basic 6.0 升级的应用程序中使用。Provides a Structure for use in an application that has been upgraded from Visual Basic 6.0.

UGUID

提供一个 Structure,表示已从 Visual Basic 6.0 升级的应用程序中的 GuidProvides a Structure that represents a Guid in an application that has been upgraded from Visual Basic 6.0.

UNAME

提供一个 Structure,表示指向已从 Visual Basic 6.0 升级的应用程序中的 Name 属性的指针。Provides a Structure that represents a pointer to a Name property in an application that has been upgraded from Visual Basic 6.0.

接口

DBinding

提供 Microsoft 数据绑定集合库 (msbind) 中 DBinding 接口的托管等效项,以便在从 Visual Basic 6.0 升级的应用程序中使用。Provides a managed equivalent of the DBinding interface from the Microsoft Data Binding Collection library (msbind) for use in applications upgraded from Visual Basic 6.0.

DBindingCollection

提供一个接口,以在从 Visual Basic 6.0 升级的应用程序中替换基于 COM 的数据绑定。Provides an interface to replace COM-based data binding in an application upgraded from Visual Basic 6.0.

IAccessor

提供 OLE DB IAccessor 接口的实现,以供从 Visual Basic 6.0 升级的应用程序使用。Provides an implementation of the OLE DB IAccessor interface for use by applications upgraded from Visual Basic 6.0.

IChapteredRowset

提供 OLE DB IAccessor 接口的实现,以供从 Visual Basic 6.0 升级的应用程序使用。Provides an implementation of the OLE DB IAccessor interface for use by applications upgraded from Visual Basic 6.0.

IColumnsInfo

提供 OLE DB IColumnInfo 接口的实现,以供从 Visual Basic 6.0 升级的应用程序使用。Provides an implementation of the OLE DB IColumnInfo interface for use by applications upgraded from Visual Basic 6.0.

IConnectionPoint

提供 OLE DB IConnectionPoint 接口的实现,以供从 Visual Basic 6.0 升级的应用程序使用。Provides an implementation of the OLE DB IConnectionPoint interface for use by applications upgraded from Visual Basic 6.0.

IConnectionPointContainer

提供 OLE DB IConnectionPointContainer 接口的实现,以供从 Visual Basic 6.0 升级的应用程序使用。Provides an implementation of the OLE DB IConnectionPointContainer interface for use by applications upgraded from Visual Basic 6.0.

IDataFormat

DataFormat 接口的 DBinding 属性提供支持。Provides support for the DataFormat property of the DBinding interface.

IDataFormatDisp

DataFormat 接口的 DBinding 属性提供支持。Provides support for the DataFormat property of the DBinding interface.

IEnumConnectionPoints

管理 IEnumConnectionPoints 接口的定义。Manages the definition of the IEnumConnectionPoints interface.

IEnumConnections

管理 IEnumConnections 接口的定义。Manages the definition of the IEnumConnections interface.

IRowPosition

提供 OLE DB IRowPosition 接口的实现,以供从 Visual Basic 6.0 升级的应用程序使用。Provides an implementation of the OLE DB IRowPosition interface for use by applications upgraded from Visual Basic 6.0.

IRowPositionChange

提供 OLE DB IRowPositionChange 接口的实现,以供从 Visual Basic 6.0 升级的应用程序使用。Provides an implementation of the OLE DB IRowPositionChange interface for use by applications upgraded from Visual Basic 6.0.

IRowset

提供 OLE DB IRowset 接口的实现,以供从 Visual Basic 6.0 升级的应用程序使用。Provides an implementation of the OLE DB IRowset interface for use by applications upgraded from Visual Basic 6.0.

IRowsetChange

提供 OLE DB IRowsetChange 接口的实现,以供从 Visual Basic 6.0 升级的应用程序使用。Provides an implementation of the OLE DB IRowsetChange interface for use by applications upgraded from Visual Basic 6.0.

IRowsetIdentity

提供 OLE DB IRowsetIdentity 接口的实现,以供从 Visual Basic 6.0 升级的应用程序使用。Provides an implementation of the OLE DB IRowsetIdentity interface for use by applications upgraded from Visual Basic 6.0.

IRowsetInfo

提供 OLE DB IRowsetInfo 接口的实现,以供从 Visual Basic 6.0 升级的应用程序使用。Provides an implementation of the OLE DB IRowsetInfo interface for use by applications upgraded from Visual Basic 6.0.

IRowsetNotify

提供 OLE DB IRowsetNotify 接口的实现,以供从 Visual Basic 6.0 升级的应用程序使用。Provides an implementation of the OLE DB IRowsetNotify interface for use by applications upgraded from Visual Basic 6.0.

枚举

ADODC.BOFActionEnum

提供常量以与 Visual Basic 6.0 BOFAction 属性保持兼容。Provides constants for compatibility with the Visual Basic 6.0 BOFAction property.

ADODC.EOFActionEnum

提供常量以与 Visual Basic 6.0 EOFAction 属性保持兼容。Provides constants for compatibility with the Visual Basic 6.0 EOFAction property.

ADODC.OrientationEnum

提供常量以与 Visual Basic 6.0 Orientation 属性保持兼容。Provides constants for compatibility with the Visual Basic 6.0 Orientation property.

DBKINDENUM

提供一个枚举,供工具用于将 Visual Basic 6.0 应用程序升级到 Visual Basic。Provides an enumeration for use by the tools for upgrading Visual Basic 6.0 applications to Visual Basic.

FormShowConstants

提供常量以与 Visual Basic 6.0 Show 方法保持兼容。Provides constants for compatibility with the Visual Basic 6.0 Show method.

LoadResConstants

提供常量以与 Visual Basic 6.0 LoadResPicture 函数保持兼容。Provides constants for compatibility with the Visual Basic 6.0 LoadResPicture function.

MouseButtonConstants

提供常量以与 Visual Basic 6.0 中的 Shift 参数掩码常量保持兼容。Provides constants for compatibility with the shift parameter mask constants in Visual Basic 6.0.

ScaleMode

提供常量以与 Visual Basic 6.0 中的 ScaleMode 常量保持兼容。Provides constants for compatibility with the ScaleMode constants in Visual Basic 6.0.

ShiftConstants

提供常量以与 Visual Basic 6.0 中的 Shift 参数掩码常量保持兼容。Provides constants for compatibility with the shift parameter mask constants in Visual Basic 6.0.

UpdateMode

提供常量以与 Visual Basic 6.0 UpdateMode 方法保持兼容。Provides constants for compatibility with the Visual Basic 6.0 UpdateMode method.

ZOrderConstants

提供常量以与 Visual Basic 6.0 ZOrder 方法保持兼容。Provides constants for compatibility with the Visual Basic 6.0 ZOrder method.

委托

ADODC.EndOfRecordsetDelegate

表示将用于处理事件的方法。Represents the method that will handle an event.

ADODC.ErrorDelegate

表示将处理 Error 事件的方法。Represents the method that will handle an Error event.

ADODC.FetchCompleteDelegate

表示用来处理 FetchComplete 事件的方法。Represents the method that will handle a FetchComplete event.

ADODC.FetchProgressDelegate

表示用来处理 FetchProgress 事件的方法。Represents the method that will handle a FetchProgress event.

ADODC.FieldChangeCompleteDelegate

表示用来处理 FieldChange 事件的方法。Represents the method that will handle a FieldChange event.

ADODC.MoveCompleteDelegate

表示用来处理 MoveComplete 事件的方法。Represents the method that will handle a MoveComplete event.

ADODC.RecordChangeCompleteDelegate

表示用来处理 RecordChangeComplete 事件的方法。Represents the method that will handle a RecordChangeComplete event.

ADODC.RecordsetChangeCompleteDelegate

表示用来处理 RecordsetChangeComplete 事件的方法。Represents the method that will handle a RecordsetChangeComplete event.

ADODC.WillChangeFieldDelegate

表示用来处理 WillChangeField 事件的方法。Represents the method that will handle a WillChangeField event.

ADODC.WillChangeRecordDelegate

表示用来处理 WillChangeRecord 事件的方法。Represents the method that will handle a WillChangeRecord event.

ADODC.WillChangeRecordsetDelegate

表示用来处理 WillChangeRecordset 事件的方法。Represents the method that will handle a WillChangeRecordset event.

ADODC.WillMoveDelegate

表示用来处理 WillMove 事件的方法。Represents the method that will handle a WillMove event.

注解

Microsoft.VisualBasic.Compatibility.VB6 命名空间中的函数和对象用于工具从 Visual Basic 6.0 升级到 Visual Basic 2008。Functions and objects in the Microsoft.VisualBasic.Compatibility.VB6 namespace are provided for use by the tools for upgrading from Visual Basic 6.0 to Visual Basic 2008. 大多数情况下,这些函数和对象可再现 .NET Framework.NET Framework 中其他命名空间的功能。In most cases, these functions and objects duplicate functionality that you can find in other namespaces in the .NET Framework.NET Framework. 只有当 Visual Basic 6.0 代码模型与 .NET Framework 实现有显著区别时,才必须使用这些函数和对象。They are necessary only when the Visual Basic 6.0 code model differs significantly from the .NET Framework implementation.

另请参阅