Redigera

Dela via


DateTimeSerializationSection.Mode Property

Definition

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