DataSourceControl.CreateControlCollection 方法

定義

建立一個集合來儲存子控制項。

protected:
 override System::Web::UI::ControlCollection ^ CreateControlCollection();
protected override System.Web.UI.ControlCollection CreateControlCollection();
override this.CreateControlCollection : unit -> System.Web.UI.ControlCollection
Protected Overrides Function CreateControlCollection () As ControlCollection

傳回

傳回 EmptyControlCollection.

備註

Note

由於資料來源控制不允許子控制,該 DataSourceControl 類別的預設實作不支援嵌入子控制項。

適用於

另請參閱