XsdTypeImporterTask.ImportXmlTypes Property

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)

Syntax

'Declaration
Public Property ImportXmlTypes As Boolean
public bool ImportXmlTypes { get; set; }
public:
property bool ImportXmlTypes {
    bool get ();
    void set (bool value);
}
member ImportXmlTypes : bool with get, set
function get ImportXmlTypes () : boolean 
function set ImportXmlTypes (value : boolean)

Property Value

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

Version Information

.NET Framework

Supported in: 4.6, 4.5

See Also

Reference

XsdTypeImporterTask Class

Microsoft.Build.Tasks.Xsd Namespace