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
public DateTime ReadValueAsDateTime ()
public:
DateTime ReadValueAsDateTime ()
public DateTime ReadValueAsDateTime ()
public function ReadValueAsDateTime () : DateTime

Return Value

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.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows 98, Windows 2000, Windows 2000 Server, Windows CE, Windows Longhorn, Windows 98 Second Edition, Pocket PC, Smart Phone, Windows Server 2003, Windows XP Professional with Service Pack 2 (SP2)