XsdDataContractExporter.Export Method

 
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.

Transforms the common language runtime (CLR) type, or set of types, into a set of XML schemas.

Namespace:   System.Runtime.Serialization
Assembly:  System.Runtime.Serialization (in System.Runtime.Serialization.dll)

NameDescription
System_CAPS_pubmethodExport(ICollection<Assembly>)

Transforms the types contained in the specified collection of assemblies.

System_CAPS_pubmethodExport(ICollection<Type>)

Transforms the types contained in the ICollection<T> passed to this method.

System_CAPS_pubmethodExport(Type)

Transforms the specified .NET Framework type into an XML schema definition language (XSD) schema.

As a recommended practice, use one of the CanExport overloads to determine whether the specified type or set of types can be exported.

After calling the Export method, retrieve the schemas from the Schemas property.

Return to top
Show: