SPView.RenderAsHtml Method

Returns the view in HTML format.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

[ClientCallableExceptionConstraintAttribute(FixedId = "accessdenied", Condition = "Lack of permissions to perform the operation.", 
	ErrorType = typeof(UnauthorizedAccessException))]
[ClientCallableAttribute]
public string RenderAsHtml()

Return Value

Type: System.String
A string that contains the view in HTML format.
Show: