AddControl Method

PageParserFilter.AddControl Method (Type, IDictionary)


Adds a ControlBuilder object in the page control tree at the current page parser position.

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

protected void AddControl(
	Type type,
	IDictionary attributes


Type: System.Type

The control type that the ControlBuilder represents.

Type: System.Collections.IDictionary

The IDictionary object that holds all the specified tag attributes.

AddControl is introduced in the .NET Framework version 3.5. For more information, see .NET Framework Versions and Dependencies.

.NET Framework
Available since 2.0
Return to top
© 2015 Microsoft