SPList.RenderListData method (String, Guid)
Returns the data for the specified query view.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Function RenderListData ( _
viewXml As String, _
viewId As Guid _
) As String
'Usage
Dim instance As SPList
Dim viewXml As String
Dim viewId As Guid
Dim returnValue As String
returnValue = instance.RenderListData(viewXml, _
viewId)
public string RenderListData(
string viewXml,
Guid viewId
)
Parameters
viewXml
Type: System.StringView Query
viewId
Type: System.GuidThe ID of the base view
Return value
Type: System.String
A JSON formatted string