Share 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
public DateTime UntilDate { get; set; }
public:
property DateTime UntilDate {
    DateTime get ();
    void set (DateTime value);
}
/** @property */
public DateTime get_UntilDate ()

/** @property */
public void set_UntilDate (DateTime value)
public function get UntilDate () : DateTime

public function set UntilDate (value : DateTime)

Property Value

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.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows 98, Windows 2000, Windows 2000 Server, Windows CE, Windows Longhorn, Windows 98 Second Edition, Pocket PC, Smart Phone, Windows Server 2003, Windows XP Professional with Service Pack 2 (SP2)