ADODC.FetchProgressDelegate 代理人

定義

警告

此 API 現已淘汰。

重要

此 API 不符合 CLS 規範。

代表將處理 FetchProgress 事件的方法。Represents the method that will handle a FetchProgress event.

public: delegate void ADODC::FetchProgressDelegate(int progress, int maxProgress, 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.FetchProgressDelegate(int progress, int maxProgress, ref EventStatusEnum adStatus, Recordset pRecordset);
type ADODC.FetchProgressDelegate = delegate of int * int * EventStatusEnum * Recordset -> unit
Public Delegate Sub ADODC.FetchProgressDelegate(progress As Integer, maxProgress As Integer, ByRef adStatus As EventStatusEnum, pRecordset As Recordset)

參數

progress
Int32

Integer,表示擷取作業的進度。An Integer representing the progress of the fetch operation.

maxProgress
Int32

Integer,表示擷取作業的大小。An Integer representing the size of the fetch operation.

adStatus
ADODB.EventStatusEnum

ADODB.EventStatusEnumAn ADODB.EventStatusEnum.

pRecordset
ADODB.Recordset

ADODB.Recordset 物件。An ADODB.Recordset object.

繼承
ADODC.FetchProgressDelegate
屬性

備註

注意

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.

適用於