IInternalConfigHost.PrefetchAll(String, String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳一個值,表示指定物件是否能讀取 Stream 整個組態檔案。
public:
bool PrefetchAll(System::String ^ configPath, System::String ^ streamName);
public bool PrefetchAll(string configPath, string streamName);
abstract member PrefetchAll : string * string -> bool
Public Function PrefetchAll (configPath As String, streamName As String) As Boolean
參數
- configPath
- String
一個字串代表應用程式設定檔的路徑。
傳回
true如果整個設定檔能被Stream指定的streamName物件讀取;否則,。 false