HtmlControl.CreateControlCollection 方法

定义

创建一个新 ControlCollection 对象来保存服务器控件的子控件(包括文本控件和服务器控件)。Creates a new ControlCollection object to hold the child controls (both literal and server) of the server control.

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

返回

一个 ControlCollection 对象,用于包含当前服务器控件的子服务器控件。A ControlCollection object to contain the current server control's child server controls.

适用于

另请参阅