WebConfigurationManager 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
提供对 Web 应用程序的配置文件的访问。
public ref class WebConfigurationManager abstract sealed
public static class WebConfigurationManager
type WebConfigurationManager = class
Public Class WebConfigurationManager
- 继承
-
WebConfigurationManager
方法
GetSection(HttpContext, String) |
从应用程序的配置文件中检索与指定上下文相关的指定配置节。 |
GetSection(HttpContext, String, Type) |
使用与指定上下文相关的应用程序配置文件中的指定配置节类型检索指定的配置节。 |
GetSection(String) |
从当前应用程序的配置文件中检索指定的配置节。 |
GetSection(String, String, String) |
使用网站名称、虚拟路径和节路径检索指定的配置节。 |
GetSection(String, String, String, Type) |
使用网站名称、虚拟路径、节路径和运行时类型检索指定的配置节。 |