Share via


ContactPropertyReader.ReadValueAsDateTime method (ContactValueType)

The ReadValueAsDateTime(ContactValueType) method returns the property value as a date and time.

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 _
) As DateTime
'Usage
Dim instance As ContactPropertyReader
Dim type As ContactValueType
Dim returnValue As DateTime

returnValue = instance.ReadValueAsDateTime(type)
public DateTime ReadValueAsDateTime(
    ContactValueType type
)

Parameters

Return value

Type: System.DateTime
The ReadValueAsDateTime(ContactValueType) method returns the property value as a DateTime instance.

See also

Reference

ContactPropertyReader structure

ContactPropertyReader members

ReadValueAsDateTime overload

Microsoft.Exchange.Data.ContentTypes.vCard namespace