共用方式為


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

此區段的路徑。

適用於