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

Return value

Type: System.String
A JSON formatted string

See also

Reference

SPList class

SPList members

RenderListData overload

Microsoft.SharePoint namespace