View.RenderAsHtml Method

Returns the list view as HTML.

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
<RemoteAttribute> _
Public Function RenderAsHtml As ClientResult(Of String)
'Usage
Dim instance As View
Dim returnValue As ClientResult(Of String)

returnValue = instance.RenderAsHtml()
[RemoteAttribute]
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.

See Also

Reference

View Class

View Members

Microsoft.SharePoint.Client Namespace