Rediger

Del via


ADODC.addDataSourceListener(DataSourceListener) Method

Definition

Important

This API is not CLS-compliant.

Adds an interface to monitor changes in a data set.

public:
 virtual void addDataSourceListener(msdatasrc::DataSourceListener ^ dsl) = msdatasrc::DataSource::addDataSourceListener;
[System.CLSCompliant(false)]
public void addDataSourceListener (msdatasrc.DataSourceListener dsl);
[<System.CLSCompliant(false)>]
abstract member addDataSourceListener : msdatasrc.DataSourceListener -> unit
override this.addDataSourceListener : msdatasrc.DataSourceListener -> unit
Public Sub addDataSourceListener (dsl As DataSourceListener)

Parameters

dsl
msdatasrc.DataSourceListener

A Msdatasrc.DataSourceListener.

Implements

msdatasrc.DataSource.addDataSourceListener(msdatasrc.DataSourceListener)
Attributes

Remarks

The DataSourceListener monitors a data set for data members that are added, removed, or changed when the ADODC is connected to a data source.

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.

Applies to