IConfiguration.GetChildren 方法

定义

获取直接后代配置子节。Gets the immediate descendant configuration sub-sections.

public:
 System::Collections::Generic::IEnumerable<Microsoft::Extensions::Configuration::IConfigurationSection ^> ^ GetChildren();
public System.Collections.Generic.IEnumerable<Microsoft.Extensions.Configuration.IConfigurationSection> GetChildren ();
abstract member GetChildren : unit -> seq<Microsoft.Extensions.Configuration.IConfigurationSection>
Public Function GetChildren () As IEnumerable(Of IConfigurationSection)

返回

IEnumerable<IConfigurationSection>

配置子节。The configuration sub-sections.

适用于