Share via


JsonReader.ReadKeyValue method

Creates a KeyValuePair<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
Assembly:  Microsoft.SharePoint.Client.Runtime (in Microsoft.SharePoint.Client.Runtime.dll)

Syntax

'Declaration
Public Function ReadKeyValue As KeyValuePair(Of String, Object)
'Usage
Dim instance As JsonReader
Dim returnValue As KeyValuePair(Of String, Object)

returnValue = instance.ReadKeyValue()
public KeyValuePair<string, Object> ReadKeyValue()

Return value

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

Remarks

This method creates a KeyValuePair<TKey, TValue> with the key of String and the value of Object from the JSON string. The key and the value are separated by the “:” in the JSON string.

See also

Reference

JsonReader class

JsonReader members

Microsoft.SharePoint.Client namespace