Share via


XsdTypeImporterTask.GenerateSerializableTypes Property

Gets or sets a value indicating whether to generate classes marked with [Serializable] Attribute.

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

Syntax

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

Property Value

Type: System.Boolean
True to generate classes marked with [Serializable] Attribute; otherwise, false.

Version Information

.NET Framework

Supported in: 4.6, 4.5

See Also

Reference

XsdTypeImporterTask Class

Microsoft.Build.Tasks.Xsd Namespace