MetaData.RetrieveSchemaFromUrlToFile(String, String) 方法

定义

从某个 URL 下载 XML 架构,并将其写入指定文件。Downloads the XML schema from a URL, and writes it to the specified file.

public:
 static void RetrieveSchemaFromUrlToFile(System::String ^ url, System::String ^ path);
public static void RetrieveSchemaFromUrlToFile (string url, string path);
static member RetrieveSchemaFromUrlToFile : string * string -> unit
Public Shared Sub RetrieveSchemaFromUrlToFile (url As String, path As String)

参数

url
String

XML 架构所在的 URL。The URL where the XML schema is located.

path
String

架构写入的文件的路径。The path of the file that the schema is written to.

注解

备注

如果已存在具有指定名称的文件,则将覆盖该文件。If a file with the specified name already exists, it is overwritten.

适用于