共用方式為


ClientValueObjectCollection<T>.InitOnePropertyFromJson 方法

初始化從JavaScript Object Notation (JSON)的屬性。

命名空間:  Microsoft.SharePoint.Client
組件:   Microsoft.SharePoint.Client.Silverlight.Runtime (在 Microsoft.SharePoint.Client.Silverlight.Runtime.dll 中);  Microsoft.SharePoint.Client.Runtime (在 Microsoft.SharePoint.Client.Runtime.dll 中)  Microsoft.SharePoint.Client.Phone.Runtime (在 Microsoft.SharePoint.Client.Phone.Runtime.dll 中)

語法

'宣告
Protected Overrides Function InitOnePropertyFromJson ( _
    peekedName As String, _
    reader As JsonReader _
) As Boolean
'用途
Dim peekedName As String
Dim reader As JsonReader
Dim returnValue As Boolean

returnValue = Me.InitOnePropertyFromJson(peekedName, _
    reader)
protected override bool InitOnePropertyFromJson(
    string peekedName,
    JsonReader reader
)

參數

  • peekedName
    類型:System.String

    若要初始化屬性的名稱。

傳回值

類型:System.Boolean
true屬性初始化; 如果否則, false。

請參閱

參照

ClientValueObjectCollection<T> 類別

ClientValueObjectCollection<T> 成員

Microsoft.SharePoint.Client 命名空間