DateTimeSerializationSection::Mode Property

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Gets or sets a value that determines the serialization format.

Namespace:   System.Xml.Serialization.Configuration
Assembly:  System.Xml (in System.Xml.dll)

public:
[ConfigurationPropertyAttribute("mode", DefaultValue = DateTimeSerializationSection::DateTimeSerializationMode::Roundtrip)]
property DateTimeSerializationSection::DateTimeSerializationMode Mode {
	DateTimeSerializationSection::DateTimeSerializationMode get();
	void set(DateTimeSerializationSection::DateTimeSerializationMode value);
}

This property is used when handling the mode attribute of the <dateTimeSerialization> Element.

.NET Framework
Available since 2.0
Return to top
Show: