IInternalConfigHost.PrefetchSection(String, String) Metod

Definition

Instruerar objektet IInternalConfigHost att läsa ett angivet avsnitt i dess associerade konfigurationsfil.

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

Parametrar

sectionGroupName
String

En sträng som representerar det identifierande namnet på en konfigurationsfilavsnittsgrupp.

sectionName
String

En sträng som representerar det identifierande namnet på ett konfigurationsfilavsnitt.

Returer

true om ett avsnitt i konfigurationsfilen som har angetts av sectionGroupName och sectionName kan läsas av ett Stream objekt, falseannars .

Gäller för