PageParserFilter.AddControl(Type, IDictionary) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
在頁面控制樹中,將 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 版本中引入。 欲了解更多資訊,請參閱 版本與相依關係。