Microsoft.VisualBasic.Compatibility.VB6 Namespace

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 Data Objects (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

表示 ListBoxComboBox 控制項中的項目,該控制項位於已從 Visual Basic 6.0 升級的應用程式中。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 Form 控制項繫結至 ADO 資料錄集。Enables Windows Forms controls to be bound to ADO recordsets. 這個型別是 Visual Basic 6.0 msbind 程式庫的 Managed 對等用法。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 的回溯相容性 (Backward Compatibility)。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 Data Binding Collection 程式庫 (msbind) 中 DBinding 介面的 Managed 對等用法,以供從 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 中切換參數遮罩常數相容的常數。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 中切換參數遮罩常數相容的常數。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.