ConfigurationAuthenticationModuleService.GetSection(Type) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.