ConfigurationAuthenticationModuleService.GetSection(Type) 方法

定义

从当前应用程序的默认配置文件中检索节。

protected:
 Microsoft::Web::Administration::ConfigurationSection ^ GetSection(Type ^ type);
protected Microsoft.Web.Administration.ConfigurationSection GetSection (Type type);
member this.GetSection : Type -> Microsoft.Web.Administration.ConfigurationSection

参数

type
Type

配置节类型。

返回

指定的 ConfigurationSection 对象。

注解

此方法使用指定的类型检索 ConfigurationSection 对象。 为方便起见,配置部分将类似的配置元素组合在一起。

参数 type 指定程序集名称、版本、区域性和公钥标记。

适用于