共用方式為


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
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 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