다음을 통해 공유


JsonReader.ReadDictionary Method

Creates a Dictionary<TKey, TValue> 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 ReadDictionary As Dictionary(Of String, Object)
'Usage
Dim instance As JsonReader
Dim returnValue As Dictionary(Of String, Object)

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

Return Value

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

Remarks

This method calls the ReadKeyValue() to create a Dictionary<TKey, TValue> with the key of String and the value of Object. The JSON string that this method uses to create the Dictionary<TKey, TValue> must start with the “{” and end with the “}”.

See Also

Reference

JsonReader Class

JsonReader Members

ReadDictionary Overload

Microsoft.SharePoint.Client Namespace