Skip to content
Docs Try Aspire

getSection

Function
📦 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

Applies to

This function is an extension method on the following types: