MasterPage.ContentPlaceHolders Property
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 ContentPlaceHolder controls that the master page uses to define different content regions.
protected public:
property System::Collections::IList ^ ContentPlaceHolders { System::Collections::IList ^ get(); };
[System.ComponentModel.Browsable(false)]
protected internal System.Collections.IList ContentPlaceHolders { get; }
[<System.ComponentModel.Browsable(false)>]
member this.ContentPlaceHolders : System.Collections.IList
Protected Friend ReadOnly Property ContentPlaceHolders As IList
Property Value
An IList of ContentPlaceHolder controls that the master page uses as placeholders for Content controls found in content pages.
- Attributes
Remarks
Derived master page classes access the ContentPlaceHolders property to list the current ContentPlaceHolder controls that are contained by the master. Derived types do not typically override the ContentPlaceHolders property.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för