Partager via


TemplateBasedControl.Controls property

Gets an object that contains the child controls of the TemplateBasedControl object.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Overrides ReadOnly Property Controls As ControlCollection
    Get
'Usage
Dim instance As TemplateBasedControl
Dim value As ControlCollection

value = instance.Controls
public override ControlCollection Controls { get; }

Property value

Type: System.Web.UI.ControlCollection
A ControlCollection object that represents the child controls.

Remarks

Refer to the Controls base class property for an extended discussion of this property.

See also

Reference

TemplateBasedControl class

TemplateBasedControl members

Microsoft.SharePoint.WebControls namespace