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) |
使用網站名稱、虛擬路徑、區段路徑和執行時間類型,擷取指定的組態區段。 |