RazorWebSectionGroup.Pages Property

Gets or sets the value of the pages element for the system.web.webPages.razor section.

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

Syntax

'Declaration
<ConfigurationPropertyAttribute("pages", IsRequired := False)> _
Public Property Pages As RazorPagesSection 
    Get 
    Set
'Usage
Dim instance As RazorWebSectionGroup 
Dim value As RazorPagesSection 

value = instance.Pages

instance.Pages = value
[ConfigurationPropertyAttribute("pages", IsRequired = false)]
public RazorPagesSection Pages { get; set; }
[ConfigurationPropertyAttribute(L"pages", IsRequired = false)]
public:
property RazorPagesSection^ Pages {
    RazorPagesSection^ get ();
    void set (RazorPagesSection^ value);
}
[<ConfigurationPropertyAttribute("pages", IsRequired = false)>]
member Pages : RazorPagesSection with get, set
function get Pages () : RazorPagesSection 
function set Pages (value : RazorPagesSection)

Property Value

Type: System.Web.WebPages.Razor.Configuration.RazorPagesSection
The pages element value.

Remarks

This section group contains the entries for the pageBaseType and namespace elements of the system.web.webPages.razor section. Those two entries in this section group can be accessed programmatically by using the RazorPagesSection class.

See Also

Reference

RazorWebSectionGroup Class

System.Web.WebPages.Razor.Configuration Namespace