getConfigValue
Method
interface IConfiguration { // ... omitted for brevity getConfigValue(key: string): string;}Signature
method
getConfigValue Gets a configuration value by key.
getConfigValue(key: string): stringParameters
keystringThe configuration key (e.g., "ConnectionStrings:Default").Returns
stringApplies to
This method applies to the following types: