SPList.RenderAsHtml method

Gets the results of the specified query in HTML format.

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


Public Function RenderAsHtml ( _
    query As SPQuery _
) As String
Dim instance As SPList
Dim query As SPQuery
Dim returnValue As String

returnValue = instance.RenderAsHtml(query)
public string RenderAsHtml(
    SPQuery query


Return value

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

See also


SPList class

SPList members

Microsoft.SharePoint namespace