Partager via


CalendarPropertyReader.ReadValueAsDateTime Method

The ReadValueAsDateTime method reads a value and returns it as a DateTime structure.

Namespace:  Microsoft.Exchange.Data.ContentTypes.iCalendar
Assembly:  Microsoft.Exchange.Data.Common (in Microsoft.Exchange.Data.Common.dll)

Syntax

'Declaration
Public Function ReadValueAsDateTime As DateTime
'Usage
Dim instance As CalendarPropertyReader
Dim returnValue As DateTime

returnValue = instance.ReadValueAsDateTime()
public DateTime ReadValueAsDateTime()

Return Value

Type: System.DateTime
The ReadValueAsDateTime property returns a DateTime structure with a DateTimeKind of Coordinated Universal Time (UTC) if the property contains a UTC value; otherwise, the DateTimeKind in the returned DateTime structure is DateTimeKind.Unspecified.