Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CreateControlCollection Method

TreeView.CreateControlCollection Method

Creates a collection to store child controls.

Namespace:  System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

protected override ControlCollection CreateControlCollection()

The TreeView control does not support embedding of child controls. This method has been overridden to prevent the addition of child controls and always returns an System.Web.UI.EmptyControlCollection object.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft