編輯

共用方式為


PageParserFilter.AddControl(Type, IDictionary) Method

Definition

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.

Applies to