WebPageBase.DefineSection(String, SectionWriter) Method
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.
Called by content pages to create named content sections.
public void DefineSection (string name, System.Web.WebPages.SectionWriter action);
member this.DefineSection : string * System.Web.WebPages.SectionWriter -> unit
Public Sub DefineSection (name As String, action As SectionWriter)
Parameters
- name
- String
The name of the section to create.
- action
- SectionWriter
The type of action to take with the new section.