Share via


GeneratedClassContext.AllowSections Property

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Gets a value indicating whether the context allows sections.

Namespace:  System.Web.Razor.Generator
Assembly:  System.Web.Razor (in System.Web.Razor.dll)

Syntax

'Declaration
Public ReadOnly Property AllowSections As Boolean 
    Get
'Usage
Dim instance As GeneratedClassContext 
Dim value As Boolean 

value = instance.AllowSections
public bool AllowSections { get; }
public:
property bool AllowSections {
    bool get ();
}
member AllowSections : bool
function get AllowSections () : boolean

Property Value

Type: System.Boolean
true if the context allows sections; otherwise, false.

See Also

Reference

GeneratedClassContext Structure

System.Web.Razor.Generator Namespace