次の方法で共有


DelegatingConfigHost.PrefetchSection(String, String) メソッド

定義

IInternalConfigHost オブジェクトに対して、関連付けられている構成ファイルの指定セクションを読み取るように指示します。

この API は製品インフラストラクチャをサポートします。コードから直接使用するものではありません。

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

パラメーター

sectionGroupName
String

構成ファイルのセクション グループの名前を表す文字列。

sectionName
String

構成ファイルのセクションの名前を表す文字列。

戻り値

sectionGroupName パラメーターおよび sectionName パラメーターで指定した構成ファイルのセクションを、Stream オブジェクトによって読み取ることができる場合は true。それ以外の場合は false

実装

適用対象