ContactPropertyReader.ReadValueAsDateTime method (ContactValueType, ContactValueSeparators)
The ReadValueAsDateTime(ContactValueType, ContactValueSeparators) method return the property value as a date and time. 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 ReadValueAsDateTime ( _
type As ContactValueType, _
expectedSeparators As ContactValueSeparators _
) As DateTime
'Usage
Dim instance As ContactPropertyReader
Dim type As ContactValueType
Dim expectedSeparators As ContactValueSeparators
Dim returnValue As DateTime
returnValue = instance.ReadValueAsDateTime(type, _
expectedSeparators)
public DateTime ReadValueAsDateTime(
ContactValueType type,
ContactValueSeparators expectedSeparators
)
Parameters
type
Type: Microsoft.Exchange.Data.ContentTypes.vCard.ContactValueTypeOne of the ContactValueType enumeration values.
expectedSeparators
Type: Microsoft.Exchange.Data.ContentTypes.vCard.ContactValueSeparatorsSeparators on which reading should stop.
Return value
Type: System.DateTime
The ReadValueAsDateTime(ContactValueType, ContactValueSeparators) method returns the property value as a DateTime instance.