共用方式為


WebConfigurationManager 類別

定義

提供 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)

使用網站名稱、虛擬路徑、區段路徑和執行時間類型,擷取指定的組態區段。

適用於