Microsoft.VisualBasic.Compatibility.Data
提供与 Visual Basic 6.0 ADO Data Control之间的兼容性,使您可以使用 Microsoft ActiveX 数据对象 (ADO) 创建到数据库的连接。
初始化 类的新实例。
添加一个接口以监视数据集中的更改。
Msdatasrc.DataSourceListener。
获取或设置 的背景色。
一个 ,表示 的背景色。
获取一个值,该值指示当前行位置是否位于 中的第一行之前。
如果当前行位于第一行之前,则为 true;否则为 false。
获取或设置一个值,该值指示当 属性为 true 时 采取什么操作。
一个 枚举,用于指定要采取的操作。
获取或设置当前 在本地内存中缓存的记录数。
一个 Integer,指定当前 对象在本地内存中缓存的记录数。默认值为 50 个记录。
获取或设置 等待某一命令从服务器返回的持续时间(以秒为单位)。
一个 Integer,指定建立连接时等待的秒数。默认值为 15 秒。
获取或设置一个值,该值通知 在打开 时传递什么类型的命令。
一个 ADODB.CommandTypeEnum 枚举,用于指定命令类型。
获取或设置用于建立到数据源的连接的信息。
一个包含连接信息的 。
获取或设置持续时间(以秒为单位),提供程序将在此时段内尝试连接到在 属性中指定的服务器。
一个 Integer,指定建立连接时等待的秒数。默认值为 15 秒。
获取或设置 对象的游标库的位置。
一个 ADODB.CursorLocationEnum 枚举,用于指定位置。默认值为 ADODB.CursorLocationEnum.adUseClient。
获取或设置一个值,该值指定打开指定查询产生的结果集时要使用的默认游标类型。
一个 ADODB.CursorTypeEnum 枚举,用于指定要使用的游标类型。
释放由 占用的非托管资源,还可以另外再释放托管资源。
如为 true,则释放托管资源和非托管资源;如为 false,则仅释放非托管资源。
试图移到超出 末尾的行时调用 EndOfRecordset 事件。
获取一个值,该值指示当前行位置是否位于 中的最后一行之后。
如果当前行位于最后一行之后,则为 true;否则,为 false。
获取或设置一个值,该值指示当 属性为 true 时 采取什么操作。
一个 枚举,用于指定要采取的操作。
当 中引发异常时发生。
当 控件完成从数据库中获取数据时发生。
当 控件正在从数据库中获取数据时发生。
当 控件的 中的 Field 更新完成时发生。
返回 的 。
返回给定数据成员的数据访问对象(如行位置)。
一个 ,用于说明表示数据源支持的一组或多组数据的数据成员。
指定的数据访问对象的接口标识符。
实现 OLE DB DataSource.getDataMemberCount 方法。
一个表示计数的 Integer。
实现 OLE DB DataSource.getDataMemberName 方法。
一个说明数据成员名称的 。
数据成员名称列表中的一个索引。
获取或设置一个值,该值指示并发处理的类型。
一个 ADODB.LockTypeEnum 枚举,用于指定并发处理的类型。
获取或设置可以从数据源中检索的最大记录数。
一个 Integer,指定可以从数据源中检索的记录数。
获取或设置一个值,该值指定用于修改 Connection 中的数据或打开 中的 Record 的可用权限。
一个 ADO.ConnectModeEnum,用于指定模式。
当 控件的 Recordset 中已发生 MoveFirst、MoveNext 或 MoveLast 方法时发生。
引发 事件。
包含事件数据的 。
获取或设置一个值,该值指定 是水平方向(默认)还是垂直方向。
一个 枚举,用于指定方向。
设置在创建 ADO Recordset 对象过程中使用的密码。
一个包含密码的 。
在 控件的 Recordset 中的当前记录更改之后发生。
获取或设置对基础 ADO Recordset 对象的引用。
一个 ADO Recordset 对象。
当 控件的 Recordset 更改时发生。
获取或设置返回 的语句或查询。
一个包含语句或查询的 。
强制控件使其工作区无效并立即重绘其自身和任何子控件。
移除一个 DataSourceListener。
Msdatasrc.DataSourceListener。
获取或设置包含在 显示区域的文本。
一个 ,用于指定文本。
获取或设置一个值,该值表示 ADO Recordset 对象的用户。
一个包含用户名的 。
在 控件的 Recordset 中的当前字段更改之前发生。
在 控件的 Recordset 中的当前记录更改之前发生。
在 控件的 Recordset 更改之前发生。
在 控件的 Recordset 的 MoveFirst、MoveNext 或 MoveLast 方法执行之前发生。
提供常量以与 Visual Basic 6.0 BOFAction 属性保持兼容。
将第一个记录保持为当前记录。
移过 Recordset 的开始处会在第一个记录上触发 Validate 事件,然后在无效 (BOF) 记录上触发 Reposition 事件。此时,将禁用 上的“移到上一条记录”按钮。
表示将处理事件的方法。
一个 Boolean,确定是否已到达 的末尾。
一个 ADODB.EventStatusEnum。
一个 ADODB.Recordset 对象。
提供常量以与 Visual Basic 6.0 EOFAction 属性保持兼容。
将最后一个记录保持为当前记录。
移过 Recordset 的末尾会触发 ADODC 的 Validation 事件在最后一条记录上发生;然后在无效的 (EOF) 记录上发生 Reposition 事件。此时,将禁用 ADODC 上的“移到下一条记录”按钮。
移过最后一条记录会触发 ADODC 的 Validation 事件在当前记录上发生,然后发生自动 AddNew 事件,然后在新记录上发生 Reposition 事件。
表示将处理 Error 事件的方法。
一个表示错误号的 Integer。
包含错误信息的 String。
一个表示错误源的 Integer。
一个表示源名称的 String。
一个表示错误帮助文件的 String。
一个 Integer,表示帮助主题的上下文 ID。
一个 Boolean,用于确定用户是否可以取消错误对话框。
表示将处理 FetchComplete 事件的方法。
一个 ADODB.Error 对象。
ADODB.EventStatusEnum 枚举。
一个 ADODB.Recordset 对象。
表示将处理 FetchProgress 事件的方法。
一个表示获取操作进度的 Integer。
一个表示获取操作大小的 Integer。
一个 ADODB.EventStatusEnum。
一个 ADODB.Recordset 对象。
表示将处理 FieldChange 事件的方法。
一个指定字段数的 Integer。
一个 ADODB.Field 对象。
一个 ADODB.Error 对象。
一个 ADODB.EventStatusEnum。
一个 ADODB.Recordset 对象。
表示将处理 MoveComplete 事件的方法。
一个 ADODB.EventReasonEnum。
一个 ADODB.Error 对象。
一个 ADODB.EventStatusEnum。
一个 ADODB.Recordset 对象。
提供常量以与 Visual Basic 6.0 Orientation 属性保持兼容。
将水平显示 ADODC。
将垂直显示 ADODC。
表示将处理 RecordChangeComplete 事件的方法。
一个 ADODB.EventReasonEnum。
一个表示记录数的 Integer。
一个 ADODB.Error 对象。
一个 ADODB.EventStatusEnum。
一个 ADODB.Recordset 对象。
表示将处理 RecordsetChangeComplete 事件的方法。
一个 ADODB.EventReasonEnum。
一个 ADODB.Field 对象。
一个 ADODB.Error 对象。
一个 ADODB.EventStatusEnum。
表示将处理 WillChangeField 事件的方法。
一个表示字段数的 Integer。
一个包含字段的 Object。
一个 ADODB.EventStatusEnum。
一个 ADODB.Recordset 对象。
表示将处理 WillChangeRecord 事件的方法。
一个 ADODB.EventReasonEnum。
一个表示记录数的 Integer。
一个 ADODB.EventStatusEnum。
一个 ADODB.Recordset 对象。
表示将处理 WillChangeRecordset 事件的方法。
一个 ADODB.EventReasonEnum。
一个 ADODB.EventStatusEnum。
一个 ADODB.Recordset 对象。
表示将处理 WillMove 事件的方法。
一个 ADODB.EventReasonEnum。
一个 ADODB.EventStatusEnum。
一个 ADODB.Recordset 对象。
提供 控件的控件数组。
初始化 类的新实例。
初始化 类的新实例,并指定其容器。
将在其中承载控件数组的 。
当 属性的值更改时发生。
当 属性的值更改时发生。
当 属性的值更改时发生。
Gets a value that determines whether a control is a member of an .
true if is a member of the control array; otherwise false.
An control.
当 属性的值更改时发生。
在焦点或键盘用户界面 (UI) 提示更改时发生。
Occurs when an in an is clicked.
当 属性的值更改时发生。
Occurs when an control is loaded.
当 属性的值更改时发生。
当 属性的值更改时发生。
Occurs when an control in an is double-clicked.
在完成拖放操作时发生。
在将对象拖入控件的边界时发生。
在将对象拖出控件的边界时发生。
在将对象拖到控件的边界上发生。
当 属性的值更改时发生。
Occurs when the property of an control changes.
进入控件时发生。
Occurs when an exception is raised for an control.
Occurs when an control completes a fetch from a database.
Occurs while an control is fetching data from a database.
Occurs when an update to a Field in a Recordset for an control is complete.
当 属性的值更改时发生。
当 属性的值更改时发生。
重写 。
。
Gets the index of an in a .
A Short that represents the index of the specified .
An in the control array.
在执行拖动操作期间发生。
当用户请求控件的帮助时发生。
Overrides .
An .
当 属性的值更改时发生。
Gets a specific element of an by index. Read-only.
An at the specified in the control array.
A Short that specifies the position of an element of the control array.
当焦点在控件上按下键时发生。
当焦点在控件上按下键时发生。
当焦点在控件上释放键时发生。
在控件应重新定位其子控件时发生。
在输入焦点离开控件时发生。
当 属性的值更改时发生。
当鼠标指针位于控件上并按下鼠标键时发生。
在鼠标指针进入控件时发生。
在鼠标指针停放在控件上时发生。
在鼠标指针离开控件时发生。
在鼠标指针移到控件上时发生。
在鼠标指针在控件上并释放鼠标键时发生。
在移动控件时发生。
Occurs when a MoveFirst, MoveNext, or MoveLast method has occurred in a Recordset for an control.
在重绘控件时发生。
当控件的 属性更改时发生。
Occurs when an is providing Help to accessibility applications.
在拖放操作期间发生,并且允许拖动源确定是否应取消拖放操作。
Occurs when the current record has changed in the Recordset of an control.
Occurs when the Recordset for an control changes.
类不支持 ResetIndex 方法
。
在调整控件大小时发生。
在 属性值更改时发生。
Sets the index of the initial in a .
An in the control array.
A Short that represents the index of the specified .
Returns a value that indicates whether an control is a member of this .
If the specified is a member of a different , ShouldSerializeIndex returns false.Note:Functions and objects in the namespace are provided for use by the tools for upgrading from Visual Basic 6.0 to Visual Basic 2008. In most cases, these functions and objects duplicate functionality that you can find in other namespaces in the .NET Framework. They are necessary only when the Visual Basic 6.0 code model differs significantly from the .NET Framework implementation.
An control.
在 属性值更改时发生。
在控件样式更改时发生。
系统颜色更改时发生。
在 属性值更改时发生。
在 属性值更改时发生。
在控件完成验证时发生。
在控件正在验证时发生。
在 属性值更改时发生。
Occurs before a Field in the Recordset of an control changes.
Occurs before the current record in a Recordset of an control changes.
Occurs before the Recordset of an control changes.
Occurs before the MoveFirst, MoveNext, or MoveLast method of a Recordset of an control executes.
在已从 Visual Basic 6.0 升级的应用程序中模拟 Visual Basic 6.0 Data Environment。
初始化 类的新实例。
类中未实现此方法。
无。
获取 ADODB.Command 对象的集合以便在从 Visual Basic 6.0 升级的应用程序中使用。
ADODB.Command 对象的集合。
获取 ADODB.Command 对象的集合以便在从 Visual Basic 6.0 升级的应用程序中使用。
ADODB.Command 对象的集合。
一个 Visual Basic 6.0 Variant,其中包含 ADODB.Command 对象。
获取 ADODB.Connection 对象的集合以便在从 Visual Basic 6.0 升级的应用程序中使用。
ADODB.Connection 对象的集合。
获取 ADODB.Connection 对象的集合以便在从 Visual Basic 6.0 升级的应用程序中使用。
ADODB.Connection 对象的集合。
一个 Visual Basic 6.0 Variant,其中包含 ADODB.Connection 对象。
释放由 占用的非托管资源。
Releases the unmanaged resources that are used by a , and optionally releases the managed resources.
true to release both managed and unmanaged resources; false to release only unmanaged resources.
重写 方法。
Invokes a method based on an ADODB.Command object.
An that contains the ADODB.Command object.
A String that contains an ADODB.Command object.
A GUID representing an ADODB.Recordset object.
获取 ADODB.Command 对象的计数。
一个包含计数的 Integer。
类中未实现此方法。
Nothing.
不适用。
包含 集合。
包含 集合。
包含一个集合。
包含 集合。
获取 对象。
一个 对象。
获取 ADODB.Recordset 对象的集合以便在从 Visual Basic 6.0 升级的应用程序中使用。
ADODB.Recordset 对象的集合。
获取 ADODB.Recordset 对象的集合以便在从 Visual Basic 6.0 升级的应用程序中使用。
ADODB.Recordset 对象的集合。
一个 Visual Basic 6.0 Variant,其中包含 ADODB.Recordset 对象。
This method is not implemented in the class.
Not applicable.
支持在从 Visual Basic 6.0 升级的应用程序中对绑定集合进行简单迭代。
获取绑定集合中的当前元素。
集合中的当前元素。
将枚举数推进到集合的下一个元素。
如果枚举数成功地推进到下一个元素,则为 true;如果枚举数越过集合的结尾,则为 false。
将枚举数设置为其初始位置,该位置位于集合中第一个元素之前。
一个 Structure,其中包含由已从 Visual Basic 6.0 升级的应用程序使用的数据。
由 Structure 使用的 Integer。
An used by the Structure.
提供一个 Structure,它表示从 Visual Basic 6.0 升级的应用程序中的 ADO 绑定。
A field for the internal Structure.
A field for the internal Structure.
A field for the internal Structure.
A field for the internal Structure.
A field for the internal Structure.
A field for the internal Structure.
A field for the internal Structure.
A field for the internal Structure.
A field for the internal Structure.
A field for the internal Structure.
A field for the internal Structure.
A field for the internal Structure.
A field for the internal Structure.
A field for the internal Structure.
A field for the internal Structure.
一个 Structure,其中包含由已从 Visual Basic 6.0 升级的应用程序使用的数据。
A field for the internal Structure.
A field for the internal Structure.
A field for the internal Structure.
A field for the internal Structure.
A field for the internal Structure.
A field for the internal Structure.
A field for the internal Structure.
A field for the internal Structure.
A field for the internal Structure.
提供一个 Structure,供已从 Visual Basic 6.0 升级的应用程序内部使用。
A field for the internal Structure.
A field for the internal Structure.
A field for the internal Structure.
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.
Gets or sets a value indicating that data has changed.
true if data has changed; otherwise, false.
获取一个数据字段。
String,包含该数据。
获取或设置数据字段的数据格式。
一个 接口。
获取数据字段的键值。
一个包含键值的 String。
Gets a data object.
An that contains data.
获取数据对象中属性的名称。
一个包含属性名称的 String。
提供一个接口,以在从 Visual Basic 6.0 升级的应用程序中替换基于 COM 的数据绑定。
Adds a to a .
A interface.
An that contains data.
A String that contains a property name.
A String that contains the name of a data field.
Optional. An interface.
Optional. A String that contains the key value.
清除绑定对象的集合。
获取 中绑定的总数。
一个包含计数的 Integer。
Gets or sets the data member for a .
A string that contains the name of the data member.
获取或设置 的数据源。
一个基于 COM 的 msdatasrc.DataSource 对象。
获取指定索引处的 。
一个 接口。
一个表示索引的 。
从 中移除 接口。
一个表示索引的 。
从 对象的数据源获取当前行并重置通过该对象绑定的控件的内容。
Gets or sets the for a .
An enumeration.
提供一个枚举,供工具用于将 Visual Basic 6.0 应用程序升级到 Visual Basic 2008。
0
1
2
3
4
5
6
提供一个 Structure,以便在已从 Visual Basic 6.0 升级的应用程序中使用。
A field for the internal Structure.
A field for the internal Structure.
A field for the internal Structure.
提供 OLE DB IAccessor 接口的实现,以供从 Visual Basic 6.0 升级的应用程序使用。
向现有的访问器添加引用数。
要递增其引用数的访问器句柄。
一个指向内存的指针,该内存用于返回访问器句柄的引用数。如果 为 null 指针,则不返回引用数。
从一组绑定创建访问器。
一个位掩码,说明访问器的属性及其使用方式。
访问器中的绑定数。
结构的数组。
在使用方的缓冲区中为一组参数或条件值分配的字节数。
一个指向内存的指针,该内存用于返回已创建的访问器的句柄。
一个指向 DBBINDSTATUS 值的数组的指针。
返回访问器中的绑定。
要返回其绑定的访问器的句柄。
一个指向内存的指针,该内存用于返回一个说明访问器的属性和及其使用方式的位掩码。
一个指向内存的指针,该内存用于返回访问器中的绑定数。
一个指向内存的指针,该内存用于返回 DBBINDSTATUS 结构的数组。
释放访问器。
要释放的访问器的句柄。
一个指向内存的指针,该内存用于返回访问器句柄的剩余引用数。
提供 OLE DB IAccessor 接口的实现,以供从 Visual Basic 6.0 升级的应用程序使用。
向现有的章节添加引用数。
要递增其引用数的章节句柄。
一个指向内存的指针,该内存用于返回章节句柄的引用数。
释放一个章节。
章节句柄。
一个指向内存的指针,该内存用于返回章节句柄的引用数。
提供 OLE DB IColumnInfo 接口的实现,以供从 Visual Basic 6.0 升级的应用程序使用。
返回大多数使用方需要的列元数据。
一个指向内存的指针,该内存用于返回行集合中的列数;此数字包括书签列(如果有书签列)。
一个指向内存的指针,该内存用于返回 DBCOLUMNINFO 结构的数组。
一个指向内存的指针,该内存用于返回指向单个分配块内所有字符串值(在 columnid 内使用的名称或用作 pwszName 的名称)的存储区的指针。
Returns an array of ordinals of the columns in a rowset that are identified by the specified column IDs.
The number of column IDs to map.
An array of IDs of the columns for which to determine the column ordinals.
An array of ordinals of the columns identified by the elements of .
提供 OLE DB IConnectionPoint 接口的实现,以供从 Visual Basic 6.0 升级的应用程序使用。
在连接点和调用方的接收器对象之间建立一个通知连接。
对接收器的引用,该接收器为此连接点所管理的输出接口接收调用。
此方法返回时,包含连接 Cookie。该参数未经初始化即被传递。
创建枚举数对象,以便循环访问到此连接点的现有连接。
此方法返回时,包含新创建的枚举数。该参数未经初始化即被传递。
返回由此连接点管理的输出接口的 IID。
此参数返回时,包含由此连接点管理的输出接口的 IID。该参数未经初始化即被传递。
检索指向在概念上拥有此连接点的可连接对象的 IConnectionPointContainer 接口指针。
此参数返回时,包含可连接对象的 IConnectionPointContainer 接口。该参数未经初始化即被传递。
关闭先前通过 方法建立的通知连接。
先前从 方法返回的连接 Cookie。
提供 OLE DB IConnectionPointContainer 接口的实现,以供从 Visual Basic 6.0 升级的应用程序使用。
Creates an enumerator of all the connection points supported in the connectable object, one connection point per IID.
When the method returns, this parameter contains the interface pointer of the enumerator. This parameter is passed uninitialized.
Queries the connectable object about whether it has a connection point for a particular IID, and, if so, returns the IConnectionPoint interface pointer to that connection point.
A reference to the outgoing interface IID whose connection point is being requested.
When the method returns, this parameter contains the connection point that manages the outgoing interface . This parameter is passed uninitialized.
为 接口的 属性提供支持。
创建 的浅表副本。
一个 。
Converts an to a Visual Basic 6.0 Variant.
An Integer.
An .
A .
Determines whether an is the default .
A .
Gets a binding for a .
A .
An Integer.
An .
A structure.
A structure.
An Integer.
An Integer.
Gets the data for an interface.
An Integer.
An .
A .
An Integer.
An .
Gets a locale ID for an interface.
An Integer.
Gets the raw data for an interface.
An Integer.
An .
A .
An Integer.
Gets the subformat type for an interface.
An Integer.
Releases a binding for an interface.
An Integer.
Releases the data for an interface.
An Integer.
An .
Sets the data for an interface.
An Integer.
An .
A .
An .
Sets the locale ID for an .
An Integer.
Sets the raw data for an .
An Integer.
An .
A .
Sets the subformat type for an interface.
An Integer.
为 接口的 属性提供支持。
管理 IEnumConnectionPoints 接口的定义。
创建与当前枚举数包含相同枚举状态的一个新枚举数。
此方法返回时,包含对该新创建的枚举数的引用。该参数未经初始化即被传递。
检索枚举序列中指定数目的项。
要在 中返回的 引用的数目。
此方法返回时,包含对枚举连接的引用。该参数未经初始化即被传递。
此方法返回时,包含对 中枚举的连接的实际数目的引用。
将枚举序列重置到开始处。
跳过枚举序列中指定数目的项。
枚举中要跳过的元素数目。
管理 IEnumConnections 接口的定义。
创建与当前枚举数包含相同枚举状态的一个新枚举数。
此方法返回时,包含对该新创建的枚举数的引用。该参数未经初始化即被传递。
检索枚举序列中指定数目的项。
要在 中返回的 结构的数目。
此方法返回时,包含对枚举连接的引用。该参数未经初始化即被传递。
此方法返回时,包含对 中枚举的连接的实际数目的引用。
将枚举序列重置到开始处。
跳过枚举序列中指定数目的项。
枚举中要跳过的元素数目。
提供 OLE DB IRowPosition 接口的实现,以供从 Visual Basic 6.0 升级的应用程序使用。
清除行位置。
Retrieves the current row position.
A pointer to memory in which to return the chapter associated with the current row. If the rowset is not chaptered, is set to DB_NULL_HCHAPTER. If is a null pointer on input, no chapter value is returned.
A pointer to memory in which to return the hRow of the current row position; or DB_NULL_HROW if there is no current row position.
A pointer to memory in which to return additional information about the row position.
返回当前的基础 Rowset。
为 中返回的行集合请求的 IID。
一个指向内存的指针,该内存用于返回基础行集合的接口指针。
通过设置源行集合初始化行位置对象。
指向源行集合上的接口的指针。
设置当前行位置。
与当前行关联的章节;如果行集合不分章节,则为与 DB_NULL_HCHAPTER 关联的章节。
新的当前行。
一个标志,指示有关新行位置的附加信息。
提供 OLE DB IRowPositionChange 接口的实现,以供从 Visual Basic 6.0 升级的应用程序使用。
将对当前行位置的更改通知给行位置对象的使用方。
一个表示结果的 Integer。
导致此更改的事件的原因。
此通知的阶段。
将此标志设置为 true 时,使用方将无法通过返回 S_FALSE 来禁止该事件,因为提供程序无法撤消该事件。
提供 OLE DB IRowset 接口的实现,以供从 Visual Basic 6.0 升级的应用程序使用。
向现有的行句柄添加引用数。
要为其递增引用数的行数。
要为其递增引用数的行句柄数组。数组中每出现一次行句柄,行句柄的引用数即递增 1。
包含 元素的数组,用于返回每个行句柄的新引用数。使用方为此数组分配内存。如果 为 null 指针,则不返回引用数。
包含 元素的数组,用于返回指示 中指定的每行状态的值。
从行的行集合副本中检索数据。
要从中获取数据的行的句柄。
要使用的访问器的句柄。
一个指针,指向用于返回数据的缓冲区。
按顺序获取行,同时记住以前的位置。
章节句柄,用于指定要获取的行。
获取行之前要跳过的行的有符号计数。提供程序已从行集合中移除的已删除的行不计算在要跳过的行中。
要获取的行数。负数意味着向后获取。
一个指向内存的指针,该内存用于返回已获取的实际行数。
一个指向内存的指针,该内存用于返回已获取行的句柄数组。
Releases rows.
An Integer representing the result.
The number of rows to release.
An array of handles of the rows to be released. The row handles do not need to form a logical cluster; they may have been obtained at separate times and need not be for contiguous underlying rows. Row handles are decremented by one reference count for each time they appear in the array.
An array of elements containing bitmasks indicating additional options to be specified when a row is released.
An array with elements in which to return the new reference count of each row.
An array with elements in which to return values indicating the status of each row specified in .
将下一个获取位置重新定位到其初始位置。
一个表示结果的 Integer。
章节句柄,用于指定要重新定位到的行。
提供 OLE DB IRowsetChange 接口的实现,以供从 Visual Basic 6.0 升级的应用程序使用。
删除行。
章节句柄。
要删除的行数。
要删除的行的句柄数组。
包含 元素的数组,用于返回指示 中指定的每行状态的值。
创建并初始化一个新行。
章节句柄。
要使用的访问器的句柄。
一个指向包含新数据值的内存的指针,偏移量对应于访问器中的绑定。
一个指向内存的指针,该内存用于返回新行的句柄。
设置一行中的一列或多列中的数据值。
要设置其中数据的行的句柄。
要使用的访问器的句柄。
一个指向包含新数据值的内存的指针,偏移量对应于访问器中的绑定。
提供 OLE DB IRowsetIdentity 接口的实现,以供从 Visual Basic 6.0 升级的应用程序使用。
比较两个行句柄,以了解它们是否引用了同一个行实例。
一个表示结果的 Integer。
活动行的句柄。
活动行的句柄。
提供 OLE DB IRowsetInfo 接口的实现,以供从 Visual Basic 6.0 升级的应用程序使用。
返回行集合支持的所有属性的当前设置。
中的 DBPROPIDSET 结构数。
DBPROPIDSET 结构的数组。
一个指向内存的指针,该内存用于返回在 中返回的 DBPROPSET 结构数。
一个指向内存的指针,该内存用于返回 DBPROPSET 结构的数组。
返回指向对其应用书签或章节的行集合的接口指针。
为其获取相关行集合的书签或章节列。
中要返回的接口指针的 IID。
一个指向内存的指针,该内存用于返回行集合上解释此列中值的 IUnknown 接口指针。
返回对象(命令或会话)上用于创建此行集合的接口指针。
要在其上返回指针的接口的 IID。
一个指向内存的指针,该内存用于返回接口指针。
提供 OLE DB IRowsetNotify 接口的实现,以供从 Visual Basic 6.0 升级的应用程序使用。
Notifies the consumer of any change to the value of a column.
An Integer representing the result.
A pointer to the rowset, because the consumer may be receiving notifications from multiple rowsets and this identifies which one is calling.
The handle of the row in which the column value was changed.
The count of columns in .
An array of columns in the row for which the value was changed.
The reason for the change, as indicated by the value of DBREASON.
The phase of this notification.
When this flag is set to true, the consumer cannot veto the event by returning S_FALSE because the provider cannot undo the event.
Notifies the consumer of the first change to a row or of any change that affects the entire row.
An Integer representing the result.
A pointer to the rowset, because the consumer may be receiving notifications from multiple rowsets and this identifies which one is calling.
The count of row handles in .
An array of handles of rows that are changing.
The reason for the change, as indicated by the value of DBREASON.
The phase of this notification.
When this flag is set to true, the consumer cannot veto the event by returning S_FALSE because the provider cannot undo the event.
Notifies the consumer of any change affecting the entire rowset.
An Integer representing the result.
A pointer to the rowset, because the consumer may be receiving notifications from multiple rowsets and this identifies which one is calling.
The reason for the change, as indicated by the value of DBREASON.
The phase of this notification.
When this flag is set to true, the consumer cannot veto the event by returning S_FALSE because the provider cannot undo the event.
Enables Windows Forms controls to be bound to ADO recordsets. This type is a managed equivalent of the Visual Basic 6.0 msbind library.
Gets or sets a value indicating whether data has changed.
true if data has changed; otherwise, false.
获取一个数据字段。
String,包含该数据。
获取或设置数据字段的数据格式。
一个 接口。
Releases the unmanaged resources that are used by an .
Releases the unmanaged resources that are used by an and, optionally, releases the managed resources.
true to release both managed and unmanaged resources; false to release only unmanaged resources.
获取数据字段的键值。
一个包含键值的 String。
Gets a data object.
An that contains data.
获取数据对象中属性的名称。
一个包含属性名称的 String。
提供一个接口,以在从 Visual Basic 6.0 升级的应用程序中替换基于 COM 的数据绑定。
初始化 的实例。
将 添加到 中。
一个 接口。
一个包含数据的 。
一个包含属性名称的 String。
一个包含数据字段名称的 String。
可选。一个 接口。
可选。一个包含键值的 String。
将 添加到 中。
一个 接口。
一个包含数据的 。
一个包含属性名称的 String。
一个包含数据字段名称的 String。
一个 接口。
一个包含键值的 String。
如为 true,则立即绑定;否则为 false。
清除绑定对象的集合。
获取 中绑定的总数。
一个包含计数的 Integer。
获取或设置 的数据成员。
一个包含数据成员名称的 String。
获取或设置 的数据源。
一个基于 COM 的 msdatasrc.DataSource 对象。
释放由 占用的非托管资源。
释放由 占用的非托管资源,还可以另外再释放托管资源。
如为 true,则释放托管资源和非托管资源;如为 false,则仅释放非托管资源。
获取 的枚举数。
集合的 。
获取指定索引处的 。
一个 接口。
一个表示索引的 。
从 中移除 接口。
一个表示索引的 。
确定是否保存 中的更改。
从 对象的数据源获取当前行并重置通过该对象绑定的控件的内容。
获取或设置 的 。
一个 枚举。
提供一个属性,供工具用于将 Visual Basic 6.0 应用程序升级到 Visual Basic 2008。
初始化 的实例。
一个包含说明的 。
获取一个字符串,其中包含 的说明。
一个包含说明的 。
提供一个 Structure,表示已从 Visual Basic 6.0 升级的应用程序中的 。
A field containing a for the internal Structure.
提供一个 Structure,表示指向已从 Visual Basic 6.0 升级的应用程序中的 Name 属性的指针。
包含内部 Structure 的 。
提供常量以与 Visual Basic 6.0 UpdateMode 方法保持兼容。
0
1
2