语言

Manager.GetConfigurationFile(String, String, String) 方法

定义

从传入 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

配置文件的 URL。

path
String

此方法返回时,包含配置文件的路径。

file
String

此方法返回时,包含配置文件的名称。

返回

true 如果找到配置文件,则为 ;否则,为 false.

适用于