Share via


RazorPagesSection Class

Provides configuration system support for the pages configuration section.

Inheritance Hierarchy

System.Object
  System.Configuration.ConfigurationElement
    System.Configuration.ConfigurationSection
      System.Web.WebPages.Razor.Configuration.RazorPagesSection

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

Syntax

'Declaration
Public Class RazorPagesSection _
    Inherits ConfigurationSection
'Usage
Dim instance As RazorPagesSection
public class RazorPagesSection : ConfigurationSection
public ref class RazorPagesSection : public ConfigurationSection
type RazorPagesSection =  
    class 
        inherit ConfigurationSection 
    end
public class RazorPagesSection extends ConfigurationSection

The RazorPagesSection type exposes the following members.

Constructors

  Name Description
Public method RazorPagesSection Initializes a new instance of the RazorPagesSection class.

Top

Properties

  Name Description
Public property CurrentConfiguration (Inherited from ConfigurationElement.)
Public property ElementInformation (Inherited from ConfigurationElement.)
Protected property ElementProperty (Inherited from ConfigurationElement.)
Protected property EvaluationContext (Inherited from ConfigurationElement.)
Protected property HasContext (Inherited from ConfigurationElement.)
Protected property Item[ConfigurationProperty] (Inherited from ConfigurationElement.)
Protected property Item[String] (Inherited from ConfigurationElement.)
Public property LockAllAttributesExcept (Inherited from ConfigurationElement.)
Public property LockAllElementsExcept (Inherited from ConfigurationElement.)
Public property LockAttributes (Inherited from ConfigurationElement.)
Public property LockElements (Inherited from ConfigurationElement.)
Public property LockItem (Inherited from ConfigurationElement.)
Public property Namespaces Gets or sets the collection of namespaces to add to Web Pages pages in the current application.
Public property PageBaseType Gets or sets the name of the page base type class.
Protected property Properties (Inherited from ConfigurationElement.)
Public property SectionInformation (Inherited from ConfigurationSection.)

Top

Methods

  Name Description
Protected method DeserializeElement (Inherited from ConfigurationElement.)
Protected method DeserializeSection (Inherited from ConfigurationSection.)
Public method Equals (Inherited from ConfigurationElement.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from ConfigurationElement.)
Protected method GetRuntimeObject (Inherited from ConfigurationSection.)
Protected method GetTransformedAssemblyString (Inherited from ConfigurationElement.)
Protected method GetTransformedTypeString (Inherited from ConfigurationElement.)
Public method GetType (Inherited from Object.)
Protected method Init (Inherited from ConfigurationElement.)
Protected method InitializeDefault (Inherited from ConfigurationElement.)
Protected method IsModified (Inherited from ConfigurationSection.)
Public method IsReadOnly (Inherited from ConfigurationElement.)
Protected method ListErrors (Inherited from ConfigurationElement.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnDeserializeUnrecognizedAttribute (Inherited from ConfigurationElement.)
Protected method OnDeserializeUnrecognizedElement (Inherited from ConfigurationElement.)
Protected method OnRequiredPropertyNotFound (Inherited from ConfigurationElement.)
Protected method PostDeserialize (Inherited from ConfigurationElement.)
Protected method PreSerialize (Inherited from ConfigurationElement.)
Protected method Reset (Inherited from ConfigurationElement.)
Protected method ResetModified (Inherited from ConfigurationSection.)
Protected method SerializeElement (Inherited from ConfigurationElement.)
Protected method SerializeSection (Inherited from ConfigurationSection.)
Protected method SerializeToXmlElement (Inherited from ConfigurationElement.)
Protected method SetPropertyValue (Inherited from ConfigurationElement.)
Protected method SetReadOnly (Inherited from ConfigurationElement.)
Protected method ShouldSerializeElementInTargetVersion (Inherited from ConfigurationSection.)
Protected method ShouldSerializePropertyInTargetVersion (Inherited from ConfigurationSection.)
Protected method ShouldSerializeSectionInTargetVersion (Inherited from ConfigurationSection.)
Public method ToString (Inherited from Object.)
Protected method Unmerge (Inherited from ConfigurationElement.)

Top

Fields

  Name Description
Public fieldStatic member SectionName Represents the name of the configuration section for Razor pages.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

System.Web.WebPages.Razor.Configuration Namespace