語言

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

一個字串,代表設定檔中某個區段名稱。

傳回

true如果由 and 參數指定的sectionGroupName設定檔區段可被sectionName物件讀取;否則, Stream。false

實作

適用於