ClientObject.CustomFromJson 方法
會傳回一個 Boolean 值,指出是否自訂程式碼用來填入物件。此成員是保留給內部使用,而不是用來直接從您的程式碼使用
命名空間: 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 Overridable Function CustomFromJson ( _
reader As JsonReader _
) As Boolean
'用途
Dim instance As ClientObject
Dim reader As JsonReader
Dim returnValue As Boolean
returnValue = instance.CustomFromJson(reader)
public virtual bool CustomFromJson(
JsonReader reader
)
參數
reader
類型:Microsoft.SharePoint.Client.JsonReader用來讀取JavaScript Object Notation (JSON)資料填入物件JsonReader物件。
傳回值
類型:System.Boolean
true如果物件已填入從 JSON 自訂程式碼。false如果物件所填入的自動產生的程式碼。
實作
IFromJson.CustomFromJson(JsonReader)