如果遇到下面的错误,需要查看一下使用的对象有没有用Load方法去得到,如果有load那有没有执行ExecuteQuery方法。
Microsoft.SharePoint.Client.CollectionNotInitializedException: ‘The collection has not been initialized. It has not been requested or the request has not been executed. It may need to be explicitly requested.’
[CSOM]Microsoft.SharePoint.Client.CollectionNotInitializedException问题
最新推荐文章于 2020-11-25 11:05:28 发布