DateTimeSerializationSection.Mode Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value that determines the serialization format.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
property System::Xml::Serialization::Configuration::DateTimeSerializationSection::DateTimeSerializationMode Mode { System::Xml::Serialization::Configuration::DateTimeSerializationSection::DateTimeSerializationMode get(); void set(System::Xml::Serialization::Configuration::DateTimeSerializationSection::DateTimeSerializationMode value); };
[System.Configuration.ConfigurationProperty("mode", DefaultValue=System.Xml.Serialization.Configuration.DateTimeSerializationSection+DateTimeSerializationMode.Roundtrip)]
public System.Xml.Serialization.Configuration.DateTimeSerializationSection.DateTimeSerializationMode Mode { get; set; }
[<System.Configuration.ConfigurationProperty("mode", DefaultValue=System.Xml.Serialization.Configuration.DateTimeSerializationSection+DateTimeSerializationMode.Roundtrip)>]
member this.Mode : System.Xml.Serialization.Configuration.DateTimeSerializationSection.DateTimeSerializationMode with get, set
Public Property Mode As DateTimeSerializationSection.DateTimeSerializationMode
Property Value
One of the DateTimeSerializationSection.DateTimeSerializationMode values.
- Attributes
Remarks
This property is used when handling the mode
attribute of the <dateTimeSerialization> Element.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.