Manager.GetConfigurationFile(String, String, String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
從傳入的 URL 字串取得設定檔的路徑與檔名。
此 API 支援此產品基礎結構,但無法直接用於程式碼之中。
public:
static bool GetConfigurationFile(System::String ^ pURL, [Runtime::InteropServices::Out] System::String ^ % path, [Runtime::InteropServices::Out] System::String ^ % file);
public static bool GetConfigurationFile(string pURL, out string path, out string file);
static member GetConfigurationFile : string * string * string -> bool
Public Shared Function GetConfigurationFile (pURL As String, ByRef path As String, ByRef file As String) As Boolean
參數
- pURL
- String
設定檔的網址。
- path
- String
當此方法回傳時,包含設定檔的路徑。
- file
- String
當此方法回傳時,包含設定檔名稱。
傳回
true如果找到設定檔;否則,。 false