constants PropertyTypeEnum
The PropertyTypeEnum type indicates the type of the properties in the iCalendar format. The Type / GuessType property specifies the property's type. The valuesFromICalendar property extracts all values or specified value of the giving value/type in ICalendar format. The Value property specifies the value of the property. The toICalendar property converts the giving value to a specified type as iCalendar format.

The PropertyTypeEnum type supports the following values:

NameValueDescription
exPropertyTypeUnknown-1 The VALUE parameter has an unknown value. The Parameters property retrieves the property's parameters. The VALUE parameter specifies the value type and format of the property value. 

The VALUE parameter can be any of the following:

  • "BINARY"
  • "BOOLEAN"
  • "CAL-ADDRESS"
  • "DATE"
  • "DATE-TIME"
  • "DURATION"
  • "FLOAT"
  • "INTEGER"
  • "PERIOD"
  • "RECUR"
  • "TEXT"
  • "TIME"
  • "URI"
  • "UTC-OFFSET"

For instance, the following iCalendar format

DTSTART;VALUE=DATE:19971102

represents the DTSTART property of DATE type with the value of #11/02/1997#

exPropertyTypeMissing0 The VALUE parameter is missing. The Parameters property retrieves the property's parameters.
exPropertyTypeBinary1 This value type is used to identify properties that contain a character encoding of inline binary data (VT_ARRAY | VT_UI1).

Example: The following is an example of a "BASE64" encoded binary value data:

ATTACH;FMTTYPE=image/vnd.microsoft.icon;ENCODING=BASE64;VALUE
=BINARY:AAABAAEAEBAQAAEABAAoAQAAFgAAACgAAAAQAAAAIAAAAAEABAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAgIAAAICAgADAwMAA////AAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAMwAAAAAAABNEMQAAAAAAAkQgAAAAAAJEREQgAA
ACECQ0QgEgAAQxQzM0E0AABERCRCREQAADRDJEJEQwAAAhA0QwEQAAAAAERE
AAAAAAAAREQAAAAAAAAkQgAAAAAAAAMgAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAA
exPropertyTypeBoolean2 This value type is used to identify properties that contain either a TRUE or FALSE Boolean value (VT_BOOL).

Example: The following is an example of a BOOLEAN value data:

Boolean1:TRUE
exPropertyTypeCalAddress3 This value type is used to identify properties that contain a calendar user address (VT_BSTR).

Example: The following is an example of a CAL-ADDRESS value data:

caladdress1:mailto:support@exontrol.com
exPropertyTypeDate4 This value type is used to identify values that contain a calendar date (VT_DATE).

Example: The following is an example of a DATE value data:

Date2:20010101
exPropertyTypeDateTime5 This value type is used to identify values that specify a precise calendar date and time of day (VT_DATE).

Example: The following is an example of a DATETIME value data:

DateTime1:20010101T120000
exPropertyTypeDuration6 This value type is used to identify properties that contain a duration of time (VT_R4).

Example: The following is an example of a DURATION value data:

Duration1:P2DT12H
exPropertyTypeFloat7 This value type is used to identify properties that contain a real-number value (VT_R8).

Example: The following is an example of a FLOAT value data:

Float1:1.5
exPropertyTypeInteger8 This value type is used to identify properties that contain a signed integer value (VT_I4 ).

Example: The following is an example of a INTEGER value data:

Integer1:1
exPropertyTypePeriod9 This value type is used to identify values that contain a precise period of time (VT_BSTR).

Example: The following is an example of a PERIOD value data:

Period1:20010101T000000/P1D
exPropertyTypeRecur10 This value type is used to identify properties that contain a recurrence rule specification (VT_BSTR ).

Example: The following is an example of a RECUR value data:

DTSTART=19970805T090000;FREQ=WEEKLY;INTERVAL=2;COUNT=4;BYDAY=TU,SU;WKST=SU
exPropertyTypeText11 This value type is used to identify values that contain human-readable text (VT_BSTR ).

Example: The following is an example of a TEXT value data:

Text1:A1
exPropertyTypeTime12 This value type is used to identify values that contain a time of day (VT_DATE).

Example: The following is an example of a TIME value data:

Time1:120000
exPropertyTypeURI13 This value type is used to identify values that contain a uniform resource identifier (URI) type of reference to the property value (VT_BSTR).

Example: The following is an example of a URI value data:

URI:https://www.exontrol.com
exPropertyTypeUTCOffset14 This value type is used to identify properties that contain an offset from UTC to local time (VT_BSTR).

Example: The following is an example of a UTCOffset value data:

UTCOffset:+0100