共用方式為


SP.View.method Property

Applies to: SharePoint Foundation 2010

In this article
Property Value
Applies To
Remarks

Gets or sets a value that specifies the view method for the list view.

var value = SP.View.get_method(); 
SP.View.set_method(value);

Property Value

Type: String

Applies To

SP.View Class

Exceptions

  • [Microsoft.SharePoint.SPException]
    Method or Filter element has an empty Name attribute. Error code: -2146232832.

Remarks

It must be null or an XML Document where the root element is a valid Method XML Fragment.

See Also

Reference

SP.View Methods

SP.View Properties

SP Namespace