Click or drag to resize

ICalendar2CreateCalDateProp Method

IT Hit WebDAV Classes Reference
Creates ICalDate property. Returns null if dateTime parameter is null. Assign the value returned by this method to Start, End and Due properties.

Namespace:  ITHit.Collab.Calendar
Assembly:  ITHit.Collab (in ITHit.Collab.dll) Version: 1.0.0.540 (1.0.0.540)
Syntax
ICalDate CreateCalDateProp(
	Nullable<DateTime> dateTime,
	string timeZoneId,
	bool allDay
)

Parameters

dateTime
Type: SystemNullableDateTime
Date and time. If null is passed, this method returns null.
timeZoneId
Type: SystemString
Time zone ID. Pass "UTC" if UTC time must be specified. Pass null if "floating" time must be specified.
allDay
Type: SystemBoolean
Pass true for all-day events and to-do. The time part in dateTime will be ignored in this case.

Return Value

Type: ICalDate
Object implementing ICalDate or null if dateTime parameter is null.
See Also