PageParserFilter.AddControl(Type, IDictionary) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a ControlBuilder object in the page control tree at the current page parser position.
protected:
void AddControl(Type ^ type, System::Collections::IDictionary ^ attributes);
protected void AddControl (Type type, System.Collections.IDictionary attributes);
member this.AddControl : Type * System.Collections.IDictionary -> unit
Protected Sub AddControl (type As Type, attributes As IDictionary)
Parameters
- type
- Type
The control type that the ControlBuilder represents.
- attributes
- IDictionary
The IDictionary object that holds all the specified tag attributes.
Remarks
AddControl is introduced in the .NET Framework version 3.5. For more information, see Versions and Dependencies.