Share via


IConfigurationBuilder.Add(IConfigurationSource) Method

Definition

Adds a new configuration source.

public:
 Microsoft::Extensions::Configuration::IConfigurationBuilder ^ Add(Microsoft::Extensions::Configuration::IConfigurationSource ^ source);
public Microsoft.Extensions.Configuration.IConfigurationBuilder Add (Microsoft.Extensions.Configuration.IConfigurationSource source);
abstract member Add : Microsoft.Extensions.Configuration.IConfigurationSource -> Microsoft.Extensions.Configuration.IConfigurationBuilder
Public Function Add (source As IConfigurationSource) As IConfigurationBuilder

Parameters

source
IConfigurationSource

The configuration source to add.

Returns

The same IConfigurationBuilder.

Applies to