ADODC.FetchProgressDelegate 代理人

定義

警告

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

重要

此 API 不符合 CLS 規範。

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

public: delegate void ADODC::FetchProgressDelegate(int progress, int maxProgress, EventStatusEnum % adStatus, Recordset ^ pRecordset);
[System.CLSCompliant(false)]
public delegate void ADODC.FetchProgressDelegate(int progress, int maxProgress, 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.FetchProgressDelegate(int progress, int maxProgress, ref EventStatusEnum adStatus, Recordset pRecordset);
[<System.CLSCompliant(false)>]
type ADODC.FetchProgressDelegate = delegate of int * 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.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

an Integer 代表取物操作的進度。

maxProgress
Int32

A Integer 代表取指操作的大小。

adStatus
ADODB.EventStatusEnum

ADODB.EventStatusEnum

pRecordset
ADODB.Recordset

ADODB.Recordset 物件。

屬性

備註

Note

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

擴充方法

名稱 Description
GetMethodInfo(Delegate)
已淘汰.

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

適用於