Share via


Recurrence.UntilDateTime property

The UntilDateTime property gets or sets a DateTime that represents the value of the UNTIL property when it is defined with an RFC 2445 datetime.

Namespace:  Microsoft.Exchange.Data.ContentTypes.iCalendar
Assembly:  Microsoft.Exchange.Data.Common (in Microsoft.Exchange.Data.Common.dll)

Syntax

'Declaration
Public Property UntilDateTime As DateTime
    Get
    Set
'Usage
Dim instance As Recurrence
Dim value As DateTime

value = instance.UntilDateTime

instance.UntilDateTime = value
public DateTime UntilDateTime { get; set; }

Property value

Type: System.DateTime
The UntilDateTime property returns a DateTime structure that represents a Coordinated Universal Time (UTC) time.

Remarks

When you set the value of the UntilDateTime property by using a DateTime structure that has an undefined DateTimeKind, the value is assumed to be a UTC time.

See also

Reference

Recurrence class

Recurrence members

Microsoft.Exchange.Data.ContentTypes.iCalendar namespace