Partilhar 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)
Available in Sandboxed Solutions: No

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