SPList.RenderListData method (String, Guid)

SharePoint 2013

Returns the data for the specified query view.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public string RenderListData(
	string viewXml,
	Guid viewId
)

Parameters

viewXml
Type: System.String

View Query

viewId
Type: System.Guid

The ID of the base view

Return value

Type: System.String
A JSON formatted string
Show: