JsonReader.ReadList<T> método
Cria um objeto de lista genérica da cadeia JSON. 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 (em Microsoft.SharePoint.Client.Silverlight.Runtime.dll); Microsoft.SharePoint.Client.Phone.Runtime (em Microsoft.SharePoint.Client.Phone.Runtime.dll) Microsoft.SharePoint.Client.Runtime (em Microsoft.SharePoint.Client.Runtime.dll)
Sintaxe
'Declaração
Public Function ReadList(Of T) As List(Of T)
'Uso
Dim instance As JsonReader
Dim returnValue As List(Of T)
returnValue = instance.ReadList()
public List<T> ReadList<T>()
Parâmetros de tipo
- T
O tipo dos elementos na lista genérico.
Valor retornado
Tipo: System.Collections.Generic.List<T>
List<T> .
Comentários
A cadeia de caracteres JSON que usa esse método para criar um objeto de List<T> deve começar com o "[" e termina com o "]", como "[valor1, valor2...]".