Share via


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