WebPageBase.DefineSection(String, SectionWriter) Method

Definition

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.

Applies to