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

注解

注释

由于数据源控件不允许子控件, DataSourceControl 因此该类的默认实现不支持子控件的嵌入。

适用于

另请参阅