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的访问情况。
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的访问情况。
应用推荐