JsonReader.ReadKeyValue 方法
從 JSON 字串建立KeyValuePair<TKey, TValue>物件。此成員是保留給內部使用,而不是用來直接從您的程式碼使用
命名空間: Microsoft.SharePoint.Client
組件: Microsoft.SharePoint.Client.Silverlight.Runtime (在 Microsoft.SharePoint.Client.Silverlight.Runtime.dll 中); Microsoft.SharePoint.Client.Phone.Runtime (在 Microsoft.SharePoint.Client.Phone.Runtime.dll 中) Microsoft.SharePoint.Client.Runtime (在 Microsoft.SharePoint.Client.Runtime.dll 中)
語法
'宣告
Public Function ReadKeyValue As KeyValuePair(Of String, Object)
'用途
Dim instance As JsonReader
Dim returnValue As KeyValuePair(Of String, Object)
returnValue = instance.ReadKeyValue()
public KeyValuePair<string, Object> ReadKeyValue()
傳回值
類型:System.Collections.Generic.KeyValuePair<String, Object>
KeyValuePair<TKey, TValue> .
備註
此方法建立KeyValuePair<TKey, TValue>String索引鍵與Object JSON 字串中的值。索引鍵和值以 「: 「 JSON 字串中。