XsdTypeImporterTask.ImportXmlTypes Property

.NET Framework (current version)

Gets or sets a value indicating whether to configure the DataContractSerializer to import non-DataContract types as IXmlSerializable.

Namespace:  Microsoft.Build.Tasks.Xsd
Assembly:  XsdBuildTask (in XsdBuildTask.dll)

public bool ImportXmlTypes { get; set; }

Property Value

Type: System.Boolean
True to configure the DataContractSerializer to import non-DataContract types as IXmlSerializable; otherwise, false.

.NET Framework

Supported in: 4.6, 4.5
Show: