Partager via


Recurrence.UntilDate Property

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

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

Syntax

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

value = instance.UntilDate

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

Property Value

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

Remarks

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