WebPageBase.IsSectionDefined Method

Returns a value that indicates whether the specified section is defined in the page.

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

'Declaration
Public Function IsSectionDefined ( _
	name As String _
) As Boolean
'Usage
Dim instance As WebPageBase 
Dim name As String 
Dim returnValue As Boolean 

returnValue = instance.IsSectionDefined(name)

Parameters

name
Type: System.String
The name of the section to search for.

Return Value

Type: System.Boolean
true if the specified section is defined in the page; otherwise, false.
Show: