System.Data.DataColumn.DateTimeMode Property

Gets or sets the DateTimeMode for the column.

Syntax

[System.ComponentModel.RefreshProperties(System.ComponentModel.RefreshProperties.All)]
[System.ComponentModel.DefaultValue(System.Data.DataSetDateTime.UnspecifiedLocal)]
public DataSetDateTime DateTimeMode { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The DataColumn.DateTimeMode cannot be modified after rows are added to a System.Data.DataColumn, except for modifying from DataSetDateTime.Unspecified and DataSetDateTime.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.

Requirements

Namespace: System.Data
Assembly: System.Data (in System.Data.dll)
Assembly Versions: 2.0.0.0