Szerkesztés

Megosztás a következőn keresztül:


MetaData Class

Definition

Provides methods that allow you to work with XML schema.

public ref class MetaData
public class MetaData
type MetaData = class
Public Class MetaData
Inheritance
MetaData

Remarks

The MetaData class provides methods that allow you to generate Web Services Description Language (WSDL) from type information, convert an XML Schema into a code stream, and compile the code stream into an assembly. This functionality is also present in the Soapsuds Tool (Soapsuds.exe).

Constructors

MetaData()

Creates an instance of MetaData.

Methods

ConvertCodeSourceFileToAssemblyFile(String, String, String)

Compiles a specified code source file into a runtime assembly file.

ConvertCodeSourceStreamToAssemblyFile(ArrayList, String, String)

Compiles specified code source streams into a run-time assembly file.

ConvertSchemaStreamToCodeSourceStream(Boolean, String, Stream, ArrayList)

Converts the specified schema definition into C# proxy source code.

ConvertSchemaStreamToCodeSourceStream(Boolean, String, Stream, ArrayList, String)

Converts the specified schema definition into C# proxy source code for a remote object that is located at the specified URL.

ConvertSchemaStreamToCodeSourceStream(Boolean, String, Stream, ArrayList, String, String)

Converts the specified schema definition into C# proxy source code for a remote object that is located at the specified URL and in the provided class namespace.

ConvertTypesToSchemaToFile(ServiceType[], SdlType, String)

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

ConvertTypesToSchemaToFile(Type[], SdlType, String)

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

ConvertTypesToSchemaToStream(ServiceType[], SdlType, Stream)

Converts the specified service types to XML schema, and writes it to a specified stream.

ConvertTypesToSchemaToStream(Type[], SdlType, Stream)

Converts the specified object types to XML schema, and writes it to a specified stream.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
RetrieveSchemaFromUrlToFile(String, String)

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

RetrieveSchemaFromUrlToStream(String, Stream)

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

SaveStreamToFile(Stream, String)

Saves the input stream to a file with the specified name.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to