SPList.RenderAsHtml Method

Gets the results of the specified query in HTML format.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

public string RenderAsHtml(
	SPQuery query
)

Parameters

query
Type: Microsoft.SharePoint.SPQuery

The query.

Return Value

Type: System.String
The results of the query in HTML format.
Show: