ConfigurationSection Constructors

Definition

Overloads

ConfigurationSection(ConfigurationRoot, String)

Initializes a new instance.

ConfigurationSection(IConfigurationRoot, String)

Initializes a new instance.

ConfigurationSection(ConfigurationRoot, String)

Initializes a new instance.

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

Parameters

root
ConfigurationRoot

The configuration root.

path
String

The path to this section.

Applies to

ConfigurationSection(IConfigurationRoot, String)

Initializes a new instance.

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)

Parameters

root
IConfigurationRoot

The configuration root.

path
String

The path to this section.

Applies to