DelegatingConfigHost.PrefetchSection(String, String) Method

Definition

Instructs the IInternalConfigHost object to read a designated section of its associated configuration file.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 virtual bool PrefetchSection(System::String ^ sectionGroupName, System::String ^ sectionName);
public virtual bool PrefetchSection (string sectionGroupName, string sectionName);
abstract member PrefetchSection : string * string -> bool
override this.PrefetchSection : string * string -> bool
Public Overridable Function PrefetchSection (sectionGroupName As String, sectionName As String) As Boolean

Parameters

sectionGroupName
String

A string representing the name of a section group in the configuration file.

sectionName
String

A string representing the name of a section in the configuration file.

Returns

true if a section of the configuration file designated by the sectionGroupName and sectionName parameters can be read by a Stream object; otherwise, false.

Implements

Applies to