CalendarPropertyReader.ReadValueAsDateTime Method (CalendarValueType)
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 ( _
valueType As CalendarValueType _
) As DateTime
public DateTime ReadValueAsDateTime (
CalendarValueType valueType
)
public:
DateTime ReadValueAsDateTime (
CalendarValueType valueType
)
public DateTime ReadValueAsDateTime (
CalendarValueType valueType
)
public function ReadValueAsDateTime (
valueType : CalendarValueType
) : DateTime
Parameters
- valueType
A CalendarValueType enumeration value that specifies how to interpret the value as a DateTime structure.
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)