_OlkDateControl.Date Property

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

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
<DispIdAttribute()> _
Property Date As DateTime
    Get
    Set
'Usage
Dim instance As _OlkDateControl
Dim value As DateTime

value = instance.Date

instance.Date = value
[DispIdAttribute()]
DateTime Date { get; set; }

Property Value

Type: System.DateTime

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.

See Also

Reference

_OlkDateControl Interface

_OlkDateControl Members

Microsoft.Office.Interop.Outlook Namespace