ADODC.RecordChangeCompleteDelegate 委托

定义

警告

此 API 现已过时。

重要

此 API 不符合 CLS。

表示用来处理 RecordChangeComplete 事件的方法。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)]
[System.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. https://go.microsoft.com/fwlink/?linkid=160862")]
public delegate void ADODC.RecordChangeCompleteDelegate(EventReasonEnum adReason, int cRecords, Error pError, ref EventStatusEnum adStatus, Recordset pRecordset);
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)

参数

adReason
ADODB.EventReasonEnum

一个 ADODB.EventReasonEnumAn ADODB.EventReasonEnum.

cRecords
Int32

一个表示记录数的 IntegerAn Integer representing the number of records.

pError
ADODB.Error

ADODB.Error 对象。An ADODB.Error object.

adStatus
ADODB.EventStatusEnum

一个 ADODB.EventStatusEnumAn ADODB.EventStatusEnum.

pRecordset
ADODB.Recordset

ADODB.Recordset 对象。An ADODB.Recordset object.

继承
ADODC.RecordChangeCompleteDelegate
属性

注解

备注

Microsoft.VisualBasic.Compatibility.VB6 命名空间中的函数和对象用于工具从 Visual Basic 6.0 升级到 Visual Basic 2008。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. 多数情况下,这些函数和对象可再现 .NET Framework 中其他命名空间的功能。In most cases, these functions and objects duplicate functionality that you can find in other namespaces in the .NET Framework. 只有当 Visual Basic 6.0 代码模型与 .NET Framework 实现有显著区别时,才必须使用这些函数和对象。They are necessary only when the Visual Basic 6.0 code model differs significantly from the .NET Framework implementation.

扩展方法

GetMethodInfo(Delegate)

获取指示指定委托表示的方法的对象。Gets an object that represents the method represented by the specified delegate.

适用于