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
)
Function CreateCalDateProp (
dateTime As Nullable(Of DateTime),
timeZoneId As String,
allDay As Boolean
) As ICalDate
ICalDate^ CreateCalDateProp(
Nullable<DateTime> dateTime,
String^ timeZoneId,
bool allDay
)
abstract CreateCalDateProp :
dateTime : Nullable<DateTime> *
timeZoneId : string *
allDay : bool -> ICalDate
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:
ICalDateObject implementing
ICalDate or null if
dateTime parameter is null.
See Also