DefineSection Method

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)

'Declaration
Public Sub DefineSection ( _
	name As String, _
	action As SectionWriter _
)
'Usage
Dim instance As WebPageBase 
Dim name As String 
Dim action As SectionWriter

instance.DefineSection(name, 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:
© 2016 Microsoft