共用方式為


SP.View.renderAsHtml() Method

Applies to: SharePoint Foundation 2010

In this article
Return Value
Applies To
Remarks

Returns the list view as HTML.

var value = SP.View.renderAsHtml();

Return Value

Type: SP.StringResult

Applies To

SP.View Class

Exceptions

  • [System.UnauthorizedAccessException]
    The current user has insufficient permissions. Error code: -2147024891.

Remarks

It must be HTML.

See Also

Reference

SP.View Methods

SP.View Properties

SP Namespace