MetaData.ConvertTypesToSchemaToFile Method (ServiceType[], SdlType, String)

 

Converts the specified service types to XML schema, and writes it to a file that is specified by name.

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

public static void ConvertTypesToSchemaToFile(
	ServiceType[] types,
	SdlType sdlType,
	string path
)

Parameters

types
Type: System.Runtime.Remoting.MetadataServices.ServiceType[]

The ServiceType instances to convert to XML schema.

sdlType
Type: System.Runtime.Remoting.MetadataServices.SdlType

The type of service description language to use for the XML schema.

path
Type: System.String

The path of the XML file.

A ServiceType instance allows you to associate a URL with an object Type.

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: