DataSourceControl.CreateControlCollection 方法

定义

创建用于存储子控件的集合。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.

适用于

另请参阅