ContactPropertyReader.ReadValueAsTimeSpan method (ContactValueSeparators)
The ReadValueAsTimeSpan(ContactValueSeparators) method returns the property value as a time span. Values are separated by the specified separators.
Namespace: Microsoft.Exchange.Data.ContentTypes.vCard
Assembly: Microsoft.Exchange.Data.Common (in Microsoft.Exchange.Data.Common.dll)
Syntax
'Declaration
Public Function ReadValueAsTimeSpan ( _
expectedSeparators As ContactValueSeparators _
) As TimeSpan
'Usage
Dim instance As ContactPropertyReader
Dim expectedSeparators As ContactValueSeparators
Dim returnValue As TimeSpan
returnValue = instance.ReadValueAsTimeSpan(expectedSeparators)
public TimeSpan ReadValueAsTimeSpan(
ContactValueSeparators expectedSeparators
)
Parameters
expectedSeparators
Type: Microsoft.Exchange.Data.ContentTypes.vCard.ContactValueSeparatorsSeparators on which reading should stop.
Return value
Type: System.TimeSpan
The ReadValueAsTimeSpan(ContactValueSeparators) method returns the property value as a TimeSpan instance.