Skip to content
Docs Try Aspire

IConfiguration.getSection

Method
📦 Aspire.Hosting v13.2.0
interface IConfiguration {
// ... omitted for brevity
getSection(key: string): IConfigurationSection;
}

Signature

method getSection
Gets a configuration section by key
getSection(key: string): IConfigurationSection
key string
IConfigurationSection

Defined on

This method is defined on the following type: