我们也可以通过在网站集内的其他审核对象上调用GetEntries方法来缩小范围,比如在网站(SPWeb),列表或文档库(SPList),或列表项、文档(SPListItem)上。
基于16个网页-相关网页
Use Case 2: Displaying items in a list using SPList?
用例2:使用SPList显示列表中的项目?
For this scenario Microsoft offers a different property on the SPList object itself called ItemCount. The correct code for this would be.
对于这种情况,微软为SPList提供了另外一个属性,名为itemcount。
We can do that by analyzing the interaction with the SharePoint object model like SPRequest. RenderViewAsHtml which is used to render lists and views or access to the SPList and SPView.
我们也能分析与SharePoint对象模型交互的情况,比如被用于呈现列表和视图的SPRequest . RenderViewAsHtml的使用情况,对SPList和SPView的访问情况。
应用推荐