編輯

共用方式為


_OlkDateControl.Date Property

Definition

Returns or sets the currently selected DateTime value with the time set to 12:00 AM. Read/write.

public:
 property DateTime Date { DateTime get(); void set(DateTime value); };
public DateTime Date { get; set; }
Public Property Date As DateTime

Property Value

Remarks

When getting this property, the default value is the current date with the time set to 12:00 AM. When setting this property, any time information will be ignored; the time will be set to 12:00 AM.

Applies to