SqlDateTime.DayTicks SqlDateTime.DayTicks SqlDateTime.DayTicks SqlDateTime.DayTicks Property

定义

获取刻度数,它表示此 SqlDateTime 结构的日期。Gets the number of ticks representing the date of this SqlDateTime structure.

public:
 property int DayTicks { int get(); };
public int DayTicks { get; }
member this.DayTicks : int
Public ReadOnly Property DayTicks As Integer

属性值

刻度数,表示此 Value 结构的 SqlDateTime 属性中包含的日期。The number of ticks representing the date that is contained in the Value property of this SqlDateTime structure.

异常

Value 结构的 System.Data.SqlTypes 属性设置为 null 时所引发的异常。The exception that is thrown when the Value property of a System.Data.SqlTypes structure is set to null.

适用于