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

/** @property */
public void set_UntilDateTime (DateTime value)
public function get UntilDateTime () : DateTime

public function set UntilDateTime (value : DateTime)

Property Value

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.

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)