WebPageBase::DefineSection Method

Called by content pages to create named content sections.

Namespace:  System.Web.WebPages
Assembly:  System.Web.WebPages (in System.Web.WebPages.dll)

public:
void DefineSection(
	String^ name, 
	SectionWriter^ action
)

Parameters

name
Type: System::String
The name of the section to create.
action
Type: System.Web.WebPages::SectionWriter
The type of action to take with the new section.
Show: