SystemWebSectionGroup クラス
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
ユーザーが構成ファイルの 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 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 |
|
| Authentication |
|
| Authorization |
|
| BrowserCaps |
|
| ClientTarget |
|
| Compilation |
|
| CustomErrors |
|
| Deployment |
|
| DeviceFilters |
|
| FullTrustAssemblies |
構成ファイルの |
| Globalization |
|
| HealthMonitoring |
|
| HostingEnvironment |
|
| HttpCookies |
|
| HttpHandlers |
|
| HttpModules |
|
| HttpRuntime |
|
| Identity |
|
| IsDeclarationRequired |
この ConfigurationSectionGroup オブジェクト宣言が必要かどうかを示す値を取得します。 (継承元 ConfigurationSectionGroup) |
| IsDeclared |
ConfigurationSectionGroup オブジェクトが宣言されているかどうかを示す値を取得します。 (継承元 ConfigurationSectionGroup) |
| MachineKey |
|
| Membership |
|
| MobileControls |
互換性のために残されています。
|
| Name |
この ConfigurationSectionGroup オブジェクトの名前プロパティを取得します。 (継承元 ConfigurationSectionGroup) |
| Pages |
|
| PartialTrustVisibleAssemblies |
構成ファイルの |
| ProcessModel |
|
| Profile |
|
| Protocols |
|
| RoleManager |
|
| SectionGroupName |
この ConfigurationSectionGroup に関連付けられているセクション グループ名を取得します。 (継承元 ConfigurationSectionGroup) |
| SectionGroups |
この ConfigurationSectionGroupCollection オブジェクトの子であるすべての ConfigurationSectionGroup オブジェクトを格納している ConfigurationSectionGroup オブジェクトを取得します。 (継承元 ConfigurationSectionGroup) |
| Sections |
この ConfigurationSectionCollection オブジェクト内のすべての ConfigurationSection オブジェクトを格納している ConfigurationSectionGroup オブジェクトを取得します。 (継承元 ConfigurationSectionGroup) |
| SecurityPolicy |
|
| SessionState |
|
| SiteMap |
|
| Trace |
|
| Trust |
|
| Type |
この ConfigurationSectionGroup オブジェクトの型を取得または設定します。 (継承元 ConfigurationSectionGroup) |
| UrlMappings |
|
| WebControls |
|
| WebParts |
|
| WebServices |
|
| 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) |