ImportOptions::GenerateSerializable Property

 

Gets or sets a value that specifies whether generated data contract classes will be marked with the SerializableAttribute attribute in addition to the DataContractAttribute attribute.

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

public:
property bool GenerateSerializable {
	bool get();
	void set(bool value);
}

Property Value

Type: System::Boolean

true to generate classes with the SerializableAttribute applied; otherwise, false. The default is false.

.NET Framework
Available since 3.0
Return to top
Show: