共用方式為


ConfigurationManager.IConfigurationBuilder.Add(IConfigurationSource) 方法

定義

新增組態來源。

 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

參數

source
IConfigurationSource

要新增的組態來源。

傳回

與新增的組態來源相同 IConfigurationBuilder

實作

適用於