JsonReader.ReadDateTime Method

Creates a DateTime object from the JSON string. This member is reserved for internal use and is not intended to be used directly from your code.

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight.Runtime (in Microsoft.SharePoint.Client.Silverlight.Runtime.dll);  Microsoft.SharePoint.Client.Runtime (in Microsoft.SharePoint.Client.Runtime.dll)

Syntax

'Declaration
Public Function ReadDateTime As DateTime
'Usage
Dim instance As JsonReader
Dim returnValue As DateTime

returnValue = instance.ReadDateTime()
public DateTime ReadDateTime()

Return Value

Type: System.DateTime
DateTime .

Remarks

The token that can be used to create the DateTime object must start with ”\/Date(” and end with “)\/” in the JSON string. The type of the token is DateTime.

See Also

Reference

JsonReader Class

JsonReader Members

Microsoft.SharePoint.Client Namespace