ConfigurationAuthenticationModuleService.GetSection(Type) Method

Definition

Retrieves a section from the current application's default configuration file.

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

Parameters

type
Type

The configuration section type.

Returns

The specified ConfigurationSection object.

Remarks

This method retrieves the ConfigurationSection object by using the specified type. Configuration sections group similar configuration elements together for convenience.

The type parameter specifies the assembly name, version, culture, and public key token.

Applies to