IConfiguration.GetChildren Method

Definition

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)

Returns

IEnumerable<IConfigurationSection>

The configuration sub-sections.

Applies to