SystemWebSectionGroup Class
TOC
Collapse the table of content
Expand the table of content

SystemWebSectionGroup Class

 

Allows the user to programmatically access the system.web group of the configuration file. This class cannot be inherited.

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

System.Object
  System.Configuration.ConfigurationSectionGroup
    System.Web.Configuration.SystemWebSectionGroup

public sealed class SystemWebSectionGroup : ConfigurationSectionGroup

NameDescription
System_CAPS_pubmethodSystemWebSectionGroup()

This API supports the product infrastructure and is not intended to be used directly from your code. Creates a new instance of SystemWebSectionGroup.

NameDescription
System_CAPS_pubpropertyAnonymousIdentification

Gets the anonymousIdentification section.

System_CAPS_pubpropertyAuthentication

Gets the authentication section.

System_CAPS_pubpropertyAuthorization

Gets the authorization section.

System_CAPS_pubpropertyBrowserCaps

Gets the browserCaps section.

System_CAPS_pubpropertyClientTarget

Gets the clientTarget section.

System_CAPS_pubpropertyCompilation

Gets the compilation section.

System_CAPS_pubpropertyCustomErrors

Gets the customErrors section.

System_CAPS_pubpropertyDeployment

Gets the deployment section.

System_CAPS_pubpropertyDeviceFilters

Gets the deviceFilters section.

System_CAPS_pubpropertyFullTrustAssemblies

Gets the FullTrustAssemblies section of the configuration file.

System_CAPS_pubpropertyGlobalization

Gets the globalization section.

System_CAPS_pubpropertyHealthMonitoring

Gets the healthMonitoring section.

System_CAPS_pubpropertyHostingEnvironment

Gets the hostingEnvironment section.

System_CAPS_pubpropertyHttpCookies

Gets the httpCookies section.

System_CAPS_pubpropertyHttpHandlers

Gets the httpHandlers section.

System_CAPS_pubpropertyHttpModules

Gets the httpModules section.

System_CAPS_pubpropertyHttpRuntime

Gets the httpRuntime section.

System_CAPS_pubpropertyIdentity

Gets the identity section.

System_CAPS_pubpropertyIsDeclarationRequired

Gets a value that indicates whether this ConfigurationSectionGroup object declaration is required. (Inherited from ConfigurationSectionGroup.)

System_CAPS_pubpropertyIsDeclared

Gets a value that indicates whether this ConfigurationSectionGroup object is declared.(Inherited from ConfigurationSectionGroup.)

System_CAPS_pubpropertyMachineKey

Gets the machineKey section.

System_CAPS_pubpropertyMembership

Gets the membership section.

System_CAPS_pubpropertyMobileControls

Obsolete.Gets the mobileControls section.

System_CAPS_pubpropertyName

Gets the name property of this ConfigurationSectionGroup object.(Inherited from ConfigurationSectionGroup.)

System_CAPS_pubpropertyPages

Gets the pages section.

System_CAPS_pubpropertyPartialTrustVisibleAssemblies

Gets the PartialTrustVisibleAssemblies section of the configuration file.

System_CAPS_pubpropertyProcessModel

Gets the processModel section.

System_CAPS_pubpropertyProfile

Gets the profile section.

System_CAPS_pubpropertyProtocols

Gets the protocols section.

System_CAPS_pubpropertyRoleManager

Gets the roleManager section.

System_CAPS_pubpropertySectionGroupName

Gets the section group name associated with this ConfigurationSectionGroup.(Inherited from ConfigurationSectionGroup.)

System_CAPS_pubpropertySectionGroups

Gets a ConfigurationSectionGroupCollection object that contains all the ConfigurationSectionGroup objects that are children of this ConfigurationSectionGroup object.(Inherited from ConfigurationSectionGroup.)

System_CAPS_pubpropertySections

Gets a ConfigurationSectionCollection object that contains all of ConfigurationSection objects within this ConfigurationSectionGroup object.(Inherited from ConfigurationSectionGroup.)

System_CAPS_pubpropertySecurityPolicy

Gets the securityPolicy section.

System_CAPS_pubpropertySessionState

Gets the sessionState section.

System_CAPS_pubpropertySiteMap

Gets the siteMap section.

System_CAPS_pubpropertyTrace

Gets the trace section.

System_CAPS_pubpropertyTrust

Gets the trust section.

System_CAPS_pubpropertyType

Gets or sets the type for this ConfigurationSectionGroup object.(Inherited from ConfigurationSectionGroup.)

System_CAPS_pubpropertyUrlMappings

Gets the urlMappings section.

System_CAPS_pubpropertyWebControls

Gets the webControls section.

System_CAPS_pubpropertyWebParts

Gets the webParts section.

System_CAPS_pubpropertyWebServices

Gets the webServices section.

System_CAPS_pubpropertyXhtmlConformance

Gets the xhtmlConformance section.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodForceDeclaration()

Forces the declaration for this ConfigurationSectionGroup object.(Inherited from ConfigurationSectionGroup.)

System_CAPS_pubmethodForceDeclaration(Boolean)

Forces the declaration for this ConfigurationSectionGroup object.(Inherited from ConfigurationSectionGroup.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodShouldSerializeSectionGroupInTargetVersion(FrameworkName)

Indicates whether the current ConfigurationSectionGroup instance should be serialized when the configuration object hierarchy is serialized for the specified target version of the .NET Framework.(Inherited from ConfigurationSectionGroup.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

The SystemWebSectionGroup class refers to the system.web group within a configuration file. You can use this type to access any of the sections contained in this group.

The following code example shows how to obtain the SystemWebSectionGroup object from the configuration file associated with an existing Web application. You can use this object to access the sections contained in the system.web group.


// Get the Web application configuration.
System.Configuration.Configuration configuration =
    WebConfigurationManager.OpenWebConfiguration(
    "/aspnetTest");

// Get the <system.web> group.
SystemWebSectionGroup systemWeb =
  (SystemWebSectionGroup)configuration.GetSectionGroup("system.web");

.NET Framework
Available since 2.0

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

Return to top
Show:
© 2016 Microsoft