Compartir a través de


del método JsonReader.ReadDictionary

Crea un objeto Dictionary<TKey, TValue> de la cadena JSON. Este miembro está reservado para uso interno y no debe usarse directamente desde el código.

Espacio de nombres:  Microsoft.SharePoint.Client
Ensamblados:   Microsoft.SharePoint.Client.Silverlight.Runtime (en Microsoft.SharePoint.Client.Silverlight.Runtime.dll);  Microsoft.SharePoint.Client.Phone.Runtime (en Microsoft.SharePoint.Client.Phone.Runtime.dll)  Microsoft.SharePoint.Client.Runtime (en Microsoft.SharePoint.Client.Runtime.dll)

Sintaxis

'Declaración
Public Function ReadDictionary As Dictionary(Of String, Object)
'Uso
Dim instance As JsonReader
Dim returnValue As Dictionary(Of String, Object)

returnValue = instance.ReadDictionary()
public Dictionary<string, Object> ReadDictionary()

Valor devuelto

Tipo: System.Collections.Generic.Dictionary<String, Object>
Dictionary<TKey, TValue> .

Comentarios

Este método llama el ReadKeyValue() para crear un Dictionary<TKey, TValue> con la clave de String y el valor de Object. La cadena JSON que utiliza este método para crear la Dictionary<TKey, TValue> debe comenzar con la "{" y termine con la "}".

Vea también

Referencia

clase JsonReader

Miembros JsonReader

Sobrecarga ReadDictionary

Espacio de nombres Microsoft.SharePoint.Client