Szerkesztés

Megosztás a következőn keresztül:


IRowsetNotify.OnRowChange Method

Definition

Notifies the consumer of the first change to a row or of any change that affects the entire row.

public:
 int OnRowChange(Microsoft::VisualBasic::Compatibility::VB6::IRowset ^ rowset, int cRows, cli::array <int> ^ rghRows, int dbReason, int eventPhase, int fCantDeny);
public int OnRowChange (Microsoft.VisualBasic.Compatibility.VB6.IRowset rowset, int cRows, int[] rghRows, int dbReason, int eventPhase, int fCantDeny);
abstract member OnRowChange : Microsoft.VisualBasic.Compatibility.VB6.IRowset * int * int[] * int * int * int -> int
Public Function OnRowChange (rowset As IRowset, cRows As Integer, rghRows As Integer(), dbReason As Integer, eventPhase As Integer, fCantDeny As Integer) As Integer

Parameters

rowset
IRowset

A pointer to the rowset, because the consumer may be receiving notifications from multiple rowsets and this identifies which one is calling.

cRows
Int32

The count of row handles in rghRows.

rghRows
Int32[]

An array of handles of rows that are changing.

dbReason
Int32

The reason for the change, as indicated by the value of DBREASON.

eventPhase
Int32

The phase of this notification.

fCantDeny
Int32

When this flag is set to true, the consumer cannot veto the event by returning S_FALSE because the provider cannot undo the event.

Returns

An Integer representing the result.

Remarks

Note

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

Applies to