Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
Syntax
'Declaration
Public Function RenderAsHtml ( _
query As SPQuery _
) As String
'Usage
Dim instance As SPList
Dim query As SPQuery
Dim returnValue As String
returnValue = instance.RenderAsHtml(query)
public string RenderAsHtml(
SPQuery query
)
Parameters
query
Type: Microsoft.SharePoint.SPQueryThe query.
Return Value
Type: System.String
The results of the query in HTML format.