XsdDataContractExporter::Export Method (Type^)

 

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

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

public:
void Export(
	Type^ type
)

Parameters

type
Type: System::Type^

The Type to transform into an XML schema.

Exception Condition
ArgumentNullException

The type argument is null.

Call the CanExport to determine whether the type can be exported. After calling the Export method, the schema can be retrieved through the Schemas property.

.NET Framework
Available since 3.0
Return to top
Show: