IInternalConfigRoot.GetSection(String, String) 方法

定义

返回一个 Object,表示配置文件某一节中的数据。

public:
 System::Object ^ GetSection(System::String ^ section, System::String ^ configPath);
public object GetSection (string section, string configPath);
abstract member GetSection : string * string -> obj
Public Function GetSection (section As String, configPath As String) As Object

参数

section
String

表示配置文件某一节的字符串。

configPath
String

表示配置文件路径的字符串。

返回

一个 Object,表示配置文件某一节中的数据。

适用于