AddControl Method

PageParserFilter.AddControl Method (Type, IDictionary)

.NET Framework (current version)
 

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
)

Parameters

type
Type: System.Type

The control type that the ControlBuilder represents.

attributes
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
Show:
© 2016 Microsoft