IConfigurationProvider.GetChildKeys(IEnumerable<String>, String) 方法

定义

基于此 IConfigurationProvider 数据和所有前述 IConfigurationProvider 返回的键集,返回给定父级路径的直接后代配置键。

public:
 System::Collections::Generic::IEnumerable<System::String ^> ^ GetChildKeys(System::Collections::Generic::IEnumerable<System::String ^> ^ earlierKeys, System::String ^ parentPath);
public System.Collections.Generic.IEnumerable<string> GetChildKeys (System.Collections.Generic.IEnumerable<string> earlierKeys, string parentPath);
public System.Collections.Generic.IEnumerable<string> GetChildKeys (System.Collections.Generic.IEnumerable<string> earlierKeys, string? parentPath);
abstract member GetChildKeys : seq<string> * string -> seq<string>
Public Function GetChildKeys (earlierKeys As IEnumerable(Of String), parentPath As String) As IEnumerable(Of String)

参数

earlierKeys
IEnumerable<String>

前述提供程序为同一父级路径返回的子键。

parentPath
String

父级路径。

返回

子键。

适用于