Rediger

Del via


DataColumn.DateTimeMode Property

Definition

Gets or sets the DateTimeMode for the column.

public:
 property System::Data::DataSetDateTime DateTimeMode { System::Data::DataSetDateTime get(); void set(System::Data::DataSetDateTime value); };
public System.Data.DataSetDateTime DateTimeMode { get; set; }
member this.DateTimeMode : System.Data.DataSetDateTime with get, set
Public Property DateTimeMode As DataSetDateTime

Property Value

The DataSetDateTime for the specified column.

Remarks

The DateTimeMode cannot be modified after rows are added to a DataColumn, except for modifying from Unspecified and UnspecifiedLocal or vice-versa. The modification from UnspecifiedLocal to Unspecified and vice-versa is allowed as the difference between these two options is only during serialization and does not affect the storage.

Applies to

See also