共用方式為


List.GetChanges 方法

按照指定的查詢,對於清單中發生的變更記錄檔傳回變更的集合。

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

語法

'宣告
Public Function GetChanges ( _
    query As ChangeQuery _
) As ChangeCollection
'用途
Dim instance As List
Dim query As ChangeQuery
Dim returnValue As ChangeCollection

returnValue = instance.GetChanges(query)
public ChangeCollection GetChanges(
    ChangeQuery query
)

參數

傳回值

類型:Microsoft.SharePoint.Client.ChangeCollection
傳回代表變更的集合,從清單中,指定查詢為基礎發生變更記錄ChangeCollection執行個體。

例外狀況

例外狀況 條件
[Microsoft.SharePoint.SPException]

變更權杖不正確的清單。錯誤碼 ︰-2130575173。變更權杖不正確。錯誤碼 ︰-2130575172。

[Microsoft.SharePoint.SPInvalidChangeTokenException]

變更權杖不正確。錯誤碼 ︰-2130575172。

備註

它不能null 參考 (未執行任何動作 於 Visual Basic 中)。

請參閱

參照

List 類別

List 成員

Microsoft.SharePoint.Client 命名空間