CalendarPropertyReader.ReadValueAsTimeSpan Method (CalendarValueType)
The ReadValueAsTimeSpan method returns the current value as a TimeSpan structure.
Namespace: Microsoft.Exchange.Data.ContentTypes.iCalendar
Assembly: Microsoft.Exchange.Data.Common (in Microsoft.Exchange.Data.Common.dll)
Syntax
'Declaration
Public Function ReadValueAsTimeSpan ( _
valueType As CalendarValueType _
) As TimeSpan
'Usage
Dim instance As CalendarPropertyReader
Dim valueType As CalendarValueType
Dim returnValue As TimeSpan
returnValue = instance.ReadValueAsTimeSpan(valueType)
public TimeSpan ReadValueAsTimeSpan(
CalendarValueType valueType
)
Parameters
- valueType
Type: Microsoft.Exchange.Data.ContentTypes.iCalendar.CalendarValueType
A CalendarValueType enumeration value that specifies how to interpret the value as a TimeSpan structure.
Return Value
Type: System.TimeSpan