下面是代码:
ClientContext context = new ClientContext("http://SPSite");
context.Credentials = new NetworkCredential("user", "pwd", "domain");
ChangeQuery cq = new ChangeQuery(true, true);
ChangeCollection col = list.GetChanges(cq);
context.Load(col);
context.ExecuteQuery();
MessageBox.Show(col.Count.ToString());
无论所做的更改如何,它始终显示为 0。