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.ContactValueType
One of the ContactValueType enumeration values.
- expectedSeparators
Type: Microsoft.Exchange.Data.ContentTypes.vCard.ContactValueSeparators
Separators on which reading should stop.
Return Value
Type: System.DateTime
The ReadValueAsDateTime(ContactValueType, ContactValueSeparators) method returns the property value as a DateTime instance.