Bewerken

Delen via


ADODC.WillChangeRecordDelegate Delegate

Definition

Caution

Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862

Important

This API is not CLS-compliant.

Represents the method that will handle a WillChangeRecord event.

public: delegate void ADODC::WillChangeRecordDelegate(EventReasonEnum adReason, int cRecords, EventStatusEnum % adStatus, Recordset ^ pRecordset);
[System.CLSCompliant(false)]
public delegate void ADODC.WillChangeRecordDelegate(EventReasonEnum adReason, int cRecords, ref EventStatusEnum adStatus, Recordset pRecordset);
[System.CLSCompliant(false)]
[System.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")]
public delegate void ADODC.WillChangeRecordDelegate(EventReasonEnum adReason, int cRecords, ref EventStatusEnum adStatus, Recordset pRecordset);
[<System.CLSCompliant(false)>]
type ADODC.WillChangeRecordDelegate = delegate of EventReasonEnum * int * EventStatusEnum * Recordset -> unit
[<System.CLSCompliant(false)>]
[<System.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")>]
type ADODC.WillChangeRecordDelegate = delegate of EventReasonEnum * int * EventStatusEnum * Recordset -> unit
Public Delegate Sub ADODC.WillChangeRecordDelegate(adReason As EventReasonEnum, cRecords As Integer, ByRef adStatus As EventStatusEnum, pRecordset As Recordset)

Parameters

adReason
ADODB.EventReasonEnum

An ADODB.EventReasonEnum.

cRecords
Int32

An Integer that represents the number of records.

adStatus
ADODB.EventStatusEnum

An ADODB.EventStatusEnum.

pRecordset
ADODB.Recordset

An ADODB.Recordset object.

Attributes

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.

Extension Methods

GetMethodInfo(Delegate)

Gets an object that represents the method represented by the specified delegate.

Applies to