WebServicesSection.GetSection(Configuration) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得指定的設定區段。
public:
static System::Web::Services::Configuration::WebServicesSection ^ GetSection(System::Configuration::Configuration ^ config);
public static System.Web.Services.Configuration.WebServicesSection GetSection(System.Configuration.Configuration config);
static member GetSection : System.Configuration.Configuration -> System.Web.Services.Configuration.WebServicesSection
Public Shared Function GetSection (config As Configuration) As WebServicesSection
參數
- config
- Configuration
一個 Configuration 代表要取回的區段的物件。
傳回
一個 WebServicesSection 代表被檢索區段的物件。
例外狀況
config 是 null。