IConfigurationSection Interface¶
Represents a section of application configuration values.
- Namespace
Microsoft.Extensions.Configuration
- Assemblies
- Microsoft.Extensions.Configuration.Abstractions
Syntax¶
public interface IConfigurationSection : IConfiguration
-
interface
Microsoft.Extensions.Configuration.
IConfigurationSection
Properties¶
-
Microsoft.Extensions.Configuration.IConfigurationSection.
Key
¶ Gets the key this section occupies in its parent.
Return type: System.String string Key { get; }
-
Microsoft.Extensions.Configuration.IConfigurationSection.
Path
¶ Gets the full path to this section within the
Microsoft.Extensions.Configuration.IConfiguration
.Return type: System.String string Path { get; }
-
Microsoft.Extensions.Configuration.IConfigurationSection.
Value
¶ Gets or sets the section value.
Return type: System.String string Value { get; set; }
-