ConfigurationSection(IConfigurationRoot, String) 构造函数

定义

初始化一个新实例。

public:
 ConfigurationSection(Microsoft::Extensions::Configuration::IConfigurationRoot ^ root, System::String ^ path);
public ConfigurationSection (Microsoft.Extensions.Configuration.IConfigurationRoot root, string path);
new Microsoft.Extensions.Configuration.ConfigurationSection : Microsoft.Extensions.Configuration.IConfigurationRoot * string -> Microsoft.Extensions.Configuration.ConfigurationSection
Public Sub New (root As IConfigurationRoot, path As String)

参数

root
IConfigurationRoot

配置根。

path
String

此节的路径。

适用于