CompositeDataBoundControl.Controls 属性

定义

获取复合数据绑定控件内的子控件的集合。Gets a collection of the child controls within the composite data-bound control.

public:
 virtual property System::Web::UI::ControlCollection ^ Controls { System::Web::UI::ControlCollection ^ get(); };
public override System.Web.UI.ControlCollection Controls { get; }
member this.Controls : System.Web.UI.ControlCollection
Public Overrides ReadOnly Property Controls As ControlCollection

属性值

一个 ControlCollection,它表示复合数据绑定控件内的子控件。A ControlCollection that represents the child controls within the composite data-bound control.

注解

复合数据绑定控件是一个或多个服务器控件的组合。A composite data-bound control is a combination of one or more server controls. Controls使用属性来管理这些子控件。Use the Controls property to manage these child controls. 可以添加、删除或循环访问集合中的服务器控件。You can add, remove, or iterate through the server controls in the collection.

适用于

另请参阅