WebPageBase.IsSectionDefined Method
Returns a value that indicates whether the specified section is defined in the page.
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.Booleantrue if the specified section is defined in the page; otherwise, false.
Show: