MasterPage.ContentTemplates Property
In this article
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.
Gets a list of content controls that are associated with the master page.
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
An IList of content controls associated with the master page.
- Attributes
Derived master page classes access the ContentTemplates property to retrieve the current Content controls, as defined by associated content pages. Derived types do not typically override the ContentTemplates property.
Applies to
Product | Versions |
---|---|
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: