IRowsetNotify 介面

定義

警告

此 API 現已淘汰。

提供 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.

public interface class IRowsetNotify
[System.Runtime.InteropServices.Guid("0c733a83-2a1c-11ce-ade5-00aa0044773d")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
[System.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")]
public interface IRowsetNotify
type IRowsetNotify = interface
Public Interface IRowsetNotify
屬性

備註

注意

Microsoft.VisualBasic.Compatibility.VB6 命名空間中的函式和物件都是供這些工具使用,以便從 Visual Basic 6.0 升級至 Visual Basic。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. 在大多數情況下,這些函式和物件會複製在 .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.NET Framework 實作有顯著差異時,才需要這些項目。They are necessary only when the Visual Basic 6.0 code model differs significantly from the .NET Framework.NET Framework implementation.

方法

OnFieldChange(IRowset, Int32, Int32, Int32[], Int32, Int32, Int32)

告知消費者,資料行值的任何變更。Notifies the consumer of any change to the value of a column.

OnRowChange(IRowset, Int32, Int32[], Int32, Int32, Int32)

告知消費者,資料列的第一個變更或影響整個資料列的任何變更。Notifies the consumer of the first change to a row or of any change that affects the entire row.

OnRowsetChange(IRowset, Int32, Int32, Int32)

告知消費者,影響整個資料列集的任何變更。Notifies the consumer of any change affecting the entire rowset.

適用於