WebApplicationLevel 枚举

定义

指定 Web 应用程序配置文件的路径级别。Specifies the path level of a Web-application configuration file.

public enum class WebApplicationLevel
public enum WebApplicationLevel
type WebApplicationLevel = 
Public Enum WebApplicationLevel
继承
WebApplicationLevel

字段

AboveApplication 10

指定配置文件位于相对于当前 ASP.NET Web 应用程序的全局目录中。Specifies that the configuration file is in a global directory in relation to the current ASP.NET Web application.

AtApplication 20

指定配置文件位于当前 ASP.NET Web 应用程序的根目录中。Specifies that the configuration file is in the root directory of the current ASP.NET Web application.

BelowApplication 30

指定配置文件位于当前 ASP.NET Web 应用程序的子目录中。Specifies that the configuration file is in a sub-directory of the current ASP.NET Web application.

注解

WebApplicationLevel类提供三个级别, 用于区分配置文件与 ASP.NET Web 应用程序的根级别的相对位置。The WebApplicationLevel class provides three levels that are used to distinguish where a configuration file is in relation to the root level of an ASP.NET Web application. 这三个路径级别类型为 AboveApplication、AtApplication 和 BelowApplication。The three path-level types are AboveApplication, AtApplication, and BelowApplication.

适用于