FileListBox.DataSource 屬性

定義

取得或設定 的 ListControl資料來源。

public:
 property System::Object ^ DataSource { System::Object ^ get(); void set(System::Object ^ value); };
[System.ComponentModel.Browsable(false)]
public object DataSource { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.DataSource : obj with get, set
Public Property DataSource As Object

屬性值

一個實作 IList or IListSource 介面的物件,例如 a DataSetArraya 。 預設值為 null

屬性

備註

此性質不應為控制點設定 FileListBox ;此特性僅因 FileListBox 控制源自 ListBox而提供。

Note

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

適用於

另請參閱