IInternalConfigRoot.GetSection(String, 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.
Returns an Object representing the data in a section of a configuration file.
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
Parameters
- section
- String
A string representing a section of a configuration file.
- configPath
- String
A string representing the path to a configuration file.
Returns
An Object representing the data in a section of a configuration file.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.