다음을 통해 공유


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

Syntax

'Declaration
<ClientCallableExceptionConstraintAttribute(FixedId := "accessdenied", Condition := "Lack of permissions to perform the operation.",  _
    ErrorType := GetType(UnauthorizedAccessException))> _
<ClientCallableAttribute> _
Public Function RenderAsHtml As String
'Usage
Dim instance As SPView
Dim returnValue As String

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

See Also

Reference

SPView Class

SPView Members

RenderAsHtml Overload

Microsoft.SharePoint Namespace