ClientDictionaryResultHandler<T>.IFromJson.FromJson 方法
處理 JSON 資料,並初始化一般字典的資料。此成員是保留給內部使用,而不是用來直接從您的程式碼使用
命名空間: 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 中)
語法
'宣告
Private Sub FromJson ( _
reader As JsonReader _
) Implements IFromJson.FromJson
'用途
Dim instance As ClientDictionaryResultHandler
Dim reader As JsonReader
CType(instance, IFromJson).FromJson(reader)
void IFromJson.FromJson(
JsonReader reader
)
參數
reader
類型:Microsoft.SharePoint.Client.JsonReader用來讀取和處理 JSON 字串JsonReader物件。
實作
IFromJson.FromJson(JsonReader)
備註
這個方法處理 JSON 資料從伺服器,並儲存的資料型別符合T將一般的字典。
請參閱
參照
ClientDictionaryResultHandler<T> 類別