PageParserFilter.AddControl(Type, IDictionary) 方法

定義

在頁面控制樹中,將 ControlBuilder 物件加入目前的頁面解析器位置。

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)

參數

type
Type

代表的 ControlBuilder 控制類型。

attributes
IDictionary

包含所有指定標籤屬性的 IDictionary 物件。

備註

AddControl 於 .NET Framework 3.5 版本中引入。 欲了解更多資訊,請參閱 版本與相依關係。

適用於