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)

public function IsSectionDefined(
	name : String
) : boolean

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: