ADODC.FetchCompleteDelegate 代理人

定義

警告

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

重要

此 API 不符合 CLS 規範。

代表將處理事件 FetchComplete 的方法。

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

參數

pError
ADODB.Error

ADODB.Error 物件。

adStatus
ADODB.EventStatusEnum

一個 ADODB.EventStatusEnum 列舉。

pRecordset
ADODB.Recordset

ADODB.Recordset 物件。

屬性

備註

Note

命名空間中的 Microsoft.VisualBasic.Compatibility.VB6 函式與物件提供給從 Visual Basic 6.0 升級到 Visual Basic 的工具使用。 大多數情況下,這些函式和物件會重複你在 .NET Framework 中其他命名空間中能找到的功能。 只有當 Visual Basic 6.0 的程式碼模型與 .NET Framework 實作有顯著差異時,才需要使用這些工具。

擴充方法

名稱 Description
GetMethodInfo(Delegate)
已淘汰.

取得一個代表指定代理所代表方法的物件。

適用於