View.RenderAsHtml method

Returns the list view as HTML.

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

public ClientResult<string> RenderAsHtml()

Return value

Type: Microsoft.SharePoint.Client.ClientResult<String>
Returns a ClientResult<T> instance representing the list view as HTML.

ExceptionCondition
[System.UnauthorizedAccessException]

The current user has insufficient permissions. Error code: -2147024891.

It must be HTML.

Show: