JsonReader.ReadDictionary método
Cria um objeto de Dictionary<TKey, TValue> 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 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 retornado
Tipo: System.Collections.Generic.Dictionary<String, Object>
Dictionary<TKey, TValue> .
Comentários
Este método chama o ReadKeyValue() para criar um Dictionary<TKey, TValue> com a chave do String e o valor de Object. A cadeia de caracteres JSON que esse método usa para criar a Dictionary<TKey, TValue> deve começar com o "{" e termina com o "}".