Share via


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
Assembly:  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