ConfigurationManager.IConfigurationBuilder.Add(IConfigurationSource) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a new configuration source.
virtual Microsoft::Extensions::Configuration::IConfigurationBuilder ^ Microsoft.Extensions.Configuration.IConfigurationBuilder.Add(Microsoft::Extensions::Configuration::IConfigurationSource ^ source) = Microsoft::Extensions::Configuration::IConfigurationBuilder::Add;
Microsoft.Extensions.Configuration.IConfigurationBuilder IConfigurationBuilder.Add (Microsoft.Extensions.Configuration.IConfigurationSource source);
abstract member Microsoft.Extensions.Configuration.IConfigurationBuilder.Add : Microsoft.Extensions.Configuration.IConfigurationSource -> Microsoft.Extensions.Configuration.IConfigurationBuilder
override this.Microsoft.Extensions.Configuration.IConfigurationBuilder.Add : Microsoft.Extensions.Configuration.IConfigurationSource -> Microsoft.Extensions.Configuration.IConfigurationBuilder
Function Add (source As IConfigurationSource) As IConfigurationBuilder Implements IConfigurationBuilder.Add
Parameters
- source
- IConfigurationSource
The configuration source to add.
Returns
The same IConfigurationBuilder with the added configuration source.
Implements
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.