共用方式為


SP.List.views Property

Applies to: SharePoint Foundation 2010

In this article
Property Value
Applies To
Remarks

Gets a value that specifies the collection of all public views on the list and personal views of the current user on the list.

var value = SP.List.get_views();

Property Value

Type: SP.ViewCollection

Applies To

SP.List Class

Exceptions

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

Remarks

It must not be null.

See Also

Reference

SP.List Methods

SP.List Properties

SP Namespace