PageParserFilter.AddControl Method (Type, IDictionary)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: