共用方式為


AddinSettings.InitOnePropertyFromJson 方法

初始化 JavaScript 物件標記法 (JSON) 資料從伺服器為基礎的用戶端物件的屬性。

命名空間:  Microsoft.SharePoint.Client.Publishing
組件:   Microsoft.SharePoint.Client.Publishing.Silverlight (在 Microsoft.SharePoint.Client.Publishing.Silverlight.dll 中);  Microsoft.SharePoint.Client.Publishing.Phone (在 Microsoft.SharePoint.Client.Publishing.Phone.dll 中)  Microsoft.SharePoint.Client.Publishing (在 Microsoft.SharePoint.Client.Publishing.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。

請參閱

參照

AddinSettings 類別

AddinSettings 成員

Microsoft.SharePoint.Client.Publishing 命名空間