DataSourceControl.CreateControlCollection DataSourceControl.CreateControlCollection DataSourceControl.CreateControlCollection DataSourceControl.CreateControlCollection Method

定義

建立儲存子控制項的集合。Creates a collection to store child controls.

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

傳回

備註

注意

因為資料來源控制項不允許子控制項, DataSourceControl所以類別的預設實值不支援內嵌子控制項。Because data source controls do not allow child controls, the DataSourceControl class's default implementation does not support the embedding of child controls.

適用於

另請參閱