DelegatingConfigHost.PrefetchSection Method (String, String)

 

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

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

Namespace:   System.Configuration.Internal
Assembly:  System.Configuration (in System.Configuration.dll)

public virtual bool PrefetchSection(
	string sectionGroupName,
	string sectionName
)

Parameters

sectionGroupName
Type: System.String

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

sectionName
Type: System.String

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

Return Value

Type: System.Boolean

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

.NET Framework
Available since 2.0
Return to top
Show: