EntityDataSourceView(EntityDataSource, String) 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化該類別的新實例 EntityDataSourceView ,並將指定的 EntityDataSource 控制項設定為目前視圖的擁有者。
public:
EntityDataSourceView(System::Web::UI::WebControls::EntityDataSource ^ owner, System::String ^ viewName);
public EntityDataSourceView(System.Web.UI.WebControls.EntityDataSource owner, string viewName);
new System.Web.UI.WebControls.EntityDataSourceView : System.Web.UI.WebControls.EntityDataSource * string -> System.Web.UI.WebControls.EntityDataSourceView
Public Sub New (owner As EntityDataSource, viewName As String)
參數
- owner
- EntityDataSource
物件所關聯的資料來源控制 EntityDataSourceView 。
- viewName
- String
在擁有該資料來源控制的範圍內,為資料來源視圖提供獨特的名稱。