Export (0) Print
Expand All

XsdDataContractExporter.Export Method

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

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method Export(ICollection<Assembly>) Transforms the types contained in the specified collection of assemblies.
Public method Export(ICollection<Type>) Transforms the types contained in the ICollection<T> passed to this method.
Public method Export(Type) Transforms the specified .NET Framework type into an XML schema definition language (XSD) schema.
Top

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.

Community Additions

ADD
Show:
© 2014 Microsoft