MBindingCollection.DataSource 屬性

定義

重要

此 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

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.

適用於