Skip to content
Docs Try Aspire
Docs Try

getSection

Method
📦 Aspire.Hosting v13.3.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 method applies to the following types: