Share via


MasterPage.ContentTemplates 屬性

定義

取得與主版頁面關聯的內容控制項清單。

protected public:
 property System::Collections::IDictionary ^ ContentTemplates { System::Collections::IDictionary ^ get(); };
[System.ComponentModel.Browsable(false)]
protected internal System.Collections.IDictionary ContentTemplates { get; }
[<System.ComponentModel.Browsable(false)>]
member this.ContentTemplates : System.Collections.IDictionary
Protected Friend ReadOnly Property ContentTemplates As IDictionary

屬性值

與主版頁面關聯之內容控制項的 IList

屬性

備註

衍生的主版頁面類別會存取 ContentTemplates 屬性,以擷取目前 Content 控制項,如相關聯的內容頁面所定義。 衍生類型通常不會覆寫 ContentTemplates 屬性。

適用於