JsonReader.ReadList<T> method

Creates a generic list 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 ReadList(Of T) As List(Of T)
'Usage
Dim instance As JsonReader
Dim returnValue As List(Of T)

returnValue = instance.ReadList()
public List<T> ReadList<T>()

Type parameters

  • T
    The type of the elements in the generic list.

Return value

Type: System.Collections.Generic.List<T>
List<T> .

Remarks

The JSON string that this method uses to create a List<T> object must start with the “[” and end with the “]”, such as “[value1, value2…]”.

See also

Reference

JsonReader class

JsonReader members

Microsoft.SharePoint.Client namespace