संपादित करें

इसके माध्यम से साझा किया गया


ADODC.RecordChangeCompleteDelegate 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 RecordChangeComplete event.

public: delegate void ADODC::RecordChangeCompleteDelegate(EventReasonEnum adReason, int cRecords, Error ^ pError, EventStatusEnum % adStatus, Recordset ^ pRecordset);
[System.CLSCompliant(false)]
public delegate void ADODC.RecordChangeCompleteDelegate(EventReasonEnum adReason, int cRecords, Error pError, 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.RecordChangeCompleteDelegate(EventReasonEnum adReason, int cRecords, Error pError, ref EventStatusEnum adStatus, Recordset pRecordset);
[<System.CLSCompliant(false)>]
type ADODC.RecordChangeCompleteDelegate = delegate of EventReasonEnum * int * Error * 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.RecordChangeCompleteDelegate = delegate of EventReasonEnum * int * Error * EventStatusEnum * Recordset -> unit
Public Delegate Sub ADODC.RecordChangeCompleteDelegate(adReason As EventReasonEnum, cRecords As Integer, pError As Error, ByRef adStatus As EventStatusEnum, pRecordset As Recordset)

Parameters

adReason
ADODB.EventReasonEnum

An ADODB.EventReasonEnum.

cRecords
Int32

An Integer representing the number of records.

pError
ADODB.Error

An ADODB.Error object.

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

Extension Methods

GetMethodInfo(Delegate)

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

Applies to