Partager via


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

Return Value

Type: System.TimeSpan