This documentation is archived and is not being maintained.

SPList.RenderAsHtml Method

Windows SharePoint Services 3

Returns a string representation of the specified query in HTML format.

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

public string RenderAsHtml(
	SPQuery query
)

Parameters

query
Type: Microsoft.SharePoint.SPQuery
An SPQuery object that represents the query.

Return Value

Type: System.String
A string representation of the query in HTML format.
Show: