Muokkaa

Jaa


IInternalConfigHost.PrefetchSection(String, String) Method

Definition

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

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

Parameters

sectionGroupName
String

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

sectionName
String

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

Returns

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

Applies to