ConfigurationManager.GetSection(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a configuration subsection with the specified key.
public:
virtual Microsoft::Extensions::Configuration::IConfigurationSection ^ GetSection(System::String ^ key);
public Microsoft.Extensions.Configuration.IConfigurationSection GetSection (string key);
abstract member GetSection : string -> Microsoft.Extensions.Configuration.IConfigurationSection
override this.GetSection : string -> Microsoft.Extensions.Configuration.IConfigurationSection
Public Function GetSection (key As String) As IConfigurationSection
Parameters
- key
- String
The key of the configuration section.
Returns
The configuration section for the specified key.
Implements
Remarks
The name of the configuration section is case-insensitive.
Applies to
Sodelujte z nami v storitvi GitHub
Vir za to vsebino najdete v storitvi GitHub, kjer lahko tudi ustvarite in pregledate težave in zahtevke za uveljavitev sprememb. Če želite več informacij, glejte naš vodnik za sodelavce.