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: (
ICalDate CreateCalDateProp(
	Nullable<DateTime> dateTime,
	string timeZoneId,
	bool allDay


Type: SystemNullableDateTime
Date and time. If null is passed, this method returns null.
Type: SystemString
Time zone ID. Pass "UTC" if UTC time must be specified. Pass null if "floating" time must be specified.
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