View.RenderAsHtml method
Returns the list view as HTML.
Namespace: Microsoft.SharePoint.Client
Assembly: Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)
Syntax
'Declaration
Public Function RenderAsHtml As ClientResult(Of String)
'Usage
Dim instance As View
Dim returnValue As ClientResult(Of String)
returnValue = instance.RenderAsHtml()
public ClientResult<string> RenderAsHtml()
Return value
Type: Microsoft.SharePoint.Client.ClientResult<String>
Returns a ClientResult<T> instance representing the list view as HTML.
Exceptions
Exception | Condition |
---|---|
[System.UnauthorizedAccessException] | The current user has insufficient permissions. Error code: -2147024891. |
Remarks
It must be HTML.