Determines whether the current component declaration on the view has the specified section.

Namespace: Castle.MonoRail.Framework
Assembly:  Castle.MonoRail.Framework (in Castle.MonoRail.Framework.dll)
Version: 1.0.3.0

Syntax

C#
protected bool HasSection(
	string sectionName
)

Parameters

sectionName
String
Name of the section.

Return Value

true if the specified section exists; otherwise, false.

See Also