MBindingCollection.DataSource MBindingCollection.DataSource MBindingCollection.DataSource MBindingCollection.DataSource Property

定义

重要

此 API 不符合 CLS。

符合 CLS 的替代方案
System.Windows.Forms.BindingSource

获取或设置 MBindingCollection 的数据源。Gets or sets the data source for a MBindingCollection.

public:
 property msdatasrc::DataSource ^ DataSource { msdatasrc::DataSource ^ get(); void set(msdatasrc::DataSource ^ value); };
[System.CLSCompliant(false)]
public msdatasrc.DataSource DataSource { get; set; }
member this.DataSource : msdatasrc.DataSource with get, set
Public Property DataSource As DataSource

属性值

msdatasrc.DataSource msdatasrc.DataSource msdatasrc.DataSource msdatasrc.DataSource

一个基于 COM 的 msdatasrc.DataSource 对象。A COM-based msdatasrc.DataSource object.

实现

注解

备注

Microsoft.VisualBasic.Compatibility.VB6 命名空间中的函数和对象用于工具从 Visual Basic 6.0 升级到 Visual Basic。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. 大多数情况下,这些函数和对象可再现 .NET Framework.NET Framework 中其他命名空间的功能。In most cases, these functions and objects duplicate functionality that you can find in other namespaces in the .NET Framework.NET Framework. 只有 Visual Basic 6.0 代码模型与 .NET Framework.NET Framework 实现有显著区别时才需要这些函数和对象。They are necessary only when the Visual Basic 6.0 code model differs significantly from the .NET Framework.NET Framework implementation.

适用于