JsonReader.ReadDictionary<T> método
Cria um genérico Dictionary<TKey, TValue> com um valor genérico 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(Of T) As Dictionary(Of String, T)
'Uso
Dim instance As JsonReader
Dim returnValue As Dictionary(Of String, T)
returnValue = instance.ReadDictionary()
public Dictionary<string, T> ReadDictionary<T>()
Parâmetros de tipo
- T
O tipo de valores no dicionário.
Valor retornado
Tipo: System.Collections.Generic.Dictionary<String, T>
Dictionary<TKey, TValue> .
Comentários
Este método cria um Dictionary<TKey, TValue> com a chave de String e o valor de Object da cadeia JSON e filtra os KeyValuePair com o valor genérico do Dictionary<TKey, TValue> para o genérico Dictionary<TKey, TValue>.