getSection

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

Signature

methodgetSection
Gets a configuration section by key.
getSection(key: string): IConfigurationSection
keystringThe configuration key.
IConfigurationSection

Applies to

This method applies to the following types: