IInternalConfigHost.PrefetchSection(String, String) Méthode

Définition

Indique à l’objet IInternalConfigHost de lire une section désignée de son fichier de configuration associé.

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

Paramètres

sectionGroupName
String

Chaîne représentant le nom d’identification d’un groupe de sections de fichiers de configuration.

sectionName
String

Chaîne représentant le nom d’identification d’une section de fichier de configuration.

Retours

true si une section du fichier de configuration désigné par sectionGroupName et sectionName peut être lue par un Stream objet ; sinon, false.

S’applique à