SystemWebSectionGroup クラス

定義

ユーザーが構成ファイルの system.web グループにプログラムからアクセスできるようにします。 このクラスは継承できません。

public ref class SystemWebSectionGroup sealed : System::Configuration::ConfigurationSectionGroup
public sealed class SystemWebSectionGroup : System.Configuration.ConfigurationSectionGroup
type SystemWebSectionGroup = class
    inherit ConfigurationSectionGroup
Public NotInheritable Class SystemWebSectionGroup
Inherits ConfigurationSectionGroup
継承
SystemWebSectionGroup

次のコード例は、既存の SystemWebSectionGroup Web アプリケーションに関連付けられている構成ファイルからオブジェクトを取得する方法を示しています。 このオブジェクトを使用して、グループに含まれるセクションに system.web アクセスできます。


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

// Get the <system.web> group.
SystemWebSectionGroup systemWeb =
  (SystemWebSectionGroup)configuration.GetSectionGroup("system.web");
' Get the Web application configuration.
Dim configuration As System.Configuration.Configuration = _
WebConfigurationManager.OpenWebConfiguration( _
"/aspnetTest")

' Get the <system.web> group.
Dim systemWeb As SystemWebSectionGroup = _
CType(configuration.GetSectionGroup( _
"system.web"), SystemWebSectionGroup)

注釈

このクラスは SystemWebSectionGroup 、構成ファイル内の system.web グループを参照します。 この種類を使用して、このグループに含まれる任意のセクションにアクセスできます。

コンストラクター

SystemWebSectionGroup()

SystemWebSectionGroup の新しいインスタンスを作成します。

プロパティ

AnonymousIdentification

anonymousIdentification セクションを取得します。

Authentication

authentication セクションを取得します。

Authorization

authorization セクションを取得します。

BrowserCaps

browserCaps セクションを取得します。

ClientTarget

clientTarget セクションを取得します。

Compilation

compilation セクションを取得します。

CustomErrors

customErrors セクションを取得します。

Deployment

deployment セクションを取得します。

DeviceFilters

deviceFilters セクションを取得します。

FullTrustAssemblies

構成ファイルの FullTrustAssemblies セクションを取得します。

Globalization

globalization セクションを取得します。

HealthMonitoring

healthMonitoring セクションを取得します。

HostingEnvironment

hostingEnvironment セクションを取得します。

HttpCookies

httpCookies セクションを取得します。

HttpHandlers

httpHandlers セクションを取得します。

HttpModules

httpModules セクションを取得します。

HttpRuntime

httpRuntime セクションを取得します。

Identity

identity セクションを取得します。

IsDeclarationRequired

この ConfigurationSectionGroup オブジェクト宣言が必要かどうかを示す値を取得します。

(継承元 ConfigurationSectionGroup)
IsDeclared

ConfigurationSectionGroup オブジェクトが宣言されているかどうかを示す値を取得します。

(継承元 ConfigurationSectionGroup)
MachineKey

machineKey セクションを取得します。

Membership

membership セクションを取得します。

MobileControls
互換性のために残されています。

mobileControls セクションを取得します。

Name

この ConfigurationSectionGroup オブジェクトの名前プロパティを取得します。

(継承元 ConfigurationSectionGroup)
Pages

pages セクションを取得します。

PartialTrustVisibleAssemblies

構成ファイルの PartialTrustVisibleAssemblies セクションを取得します。

ProcessModel

processModel セクションを取得します。

Profile

profile セクションを取得します。

Protocols

protocols セクションを取得します。

RoleManager

roleManager セクションを取得します。

SectionGroupName

この ConfigurationSectionGroup に関連付けられているセクション グループ名を取得します。

(継承元 ConfigurationSectionGroup)
SectionGroups

この ConfigurationSectionGroupCollection オブジェクトの子であるすべての ConfigurationSectionGroup オブジェクトを格納している ConfigurationSectionGroup オブジェクトを取得します。

(継承元 ConfigurationSectionGroup)
Sections

この ConfigurationSectionCollection オブジェクト内のすべての ConfigurationSection オブジェクトを格納している ConfigurationSectionGroup オブジェクトを取得します。

(継承元 ConfigurationSectionGroup)
SecurityPolicy

securityPolicy セクションを取得します。

SessionState

sessionState セクションを取得します。

SiteMap

siteMap セクションを取得します。

Trace

trace セクションを取得します。

Trust

trust セクションを取得します。

Type

この ConfigurationSectionGroup オブジェクトの型を取得または設定します。

(継承元 ConfigurationSectionGroup)
UrlMappings

urlMappings セクションを取得します。

WebControls

webControls セクションを取得します。

WebParts

webParts セクションを取得します。

WebServices

webServices セクションを取得します。

XhtmlConformance

xhtmlConformance セクションを取得します。

メソッド

Equals(Object)

指定されたオブジェクトが現在のオブジェクトと等しいかどうかを判断します。

(継承元 Object)
ForceDeclaration()

この ConfigurationSectionGroup オブジェクトの宣言を強制的に行います。

(継承元 ConfigurationSectionGroup)
ForceDeclaration(Boolean)

この ConfigurationSectionGroup オブジェクトの宣言を強制的に行います。

(継承元 ConfigurationSectionGroup)
GetHashCode()

既定のハッシュ関数として機能します。

(継承元 Object)
GetType()

現在のインスタンスの Type を取得します。

(継承元 Object)
MemberwiseClone()

現在の Object の簡易コピーを作成します。

(継承元 Object)
ShouldSerializeSectionGroupInTargetVersion(FrameworkName)

指定したターゲット バージョンの.NET Frameworkに対して構成オブジェクト階層をシリアル化するときに、現在ConfigurationSectionGroupのインスタンスをシリアル化する必要があるかどうかを示します。

(継承元 ConfigurationSectionGroup)
ToString()

現在のオブジェクトを表す文字列を返します。

(継承元 Object)

適用対象