Editare

Partajați prin


ADODC.WillChangeRecordsetDelegate 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 WillChangeRecordset event.

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

Parameters

adReason
ADODB.EventReasonEnum

An ADODB.EventReasonEnum.

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