MetaData.RetrieveSchemaFromUrlToFile Method (String, String)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Downloads the XML schema from a URL, and writes it to the specified file.

Namespace:   System.Runtime.Remoting.MetadataServices
Assembly:  System.Runtime.Remoting (in System.Runtime.Remoting.dll)

public static void RetrieveSchemaFromUrlToFile(
	string url,
	string path
)

Parameters

url
Type: System.String

The URL where the XML schema is located.

path
Type: System.String

The path of the file that the schema is written to.

System_CAPS_noteNote

If a file with the specified name already exists, it is overwritten.

.NET Framework
Available since 1.1
Return to top
Show: