EntityDataSource.GetViewNames 方法

定義

會取得一組名稱,代表與 EntityDataSource 控制項相關的檢視物件清單。

protected:
 override System::Collections::ICollection ^ GetViewNames();
protected override System.Collections.ICollection GetViewNames();
override this.GetViewNames : unit -> System.Collections.ICollection
Protected Overrides Function GetViewNames () As ICollection

傳回

一個 ICollection 包含與 EntityDataSource 控制項相關視窗名稱的 A。

實作

備註

EntityDataSource 控制項僅支援對底層資料的單一檢視。 該 GetViewNames 方法會回傳這個單視圖名稱的單元素集合,作為字串。

適用於