다음을 통해 공유


CalendarPeriod Constructor (DateTime, DateTime)

The CalendarPeriod constructor creates a new CalendarPeriod object with the specified start and end times.

Namespace: Microsoft.Exchange.Data.ContentTypes.iCalendar
Assembly: Microsoft.Exchange.Data.Common (in microsoft.exchange.data.common.dll)

Syntax

'Declaration
Public Sub New ( _
    start As DateTime, _
    end As DateTime _
)
public CalendarPeriod (
    DateTime start,
    DateTime end
)
public:
CalendarPeriod (
    DateTime start, 
    DateTime end
)
public CalendarPeriod (
    DateTime start, 
    DateTime end
)
public function CalendarPeriod (
    start : DateTime, 
    end : DateTime
)

Parameters

  • end
    The end time for this CalendarPeriod structure.

Remarks

When you set the value of the CalendarPeriod property by using an instance of the DateTime structure that does not specify DateTimeKind, the CalendarPeriod property assumes that the DateTime instance represents local time.

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)