SPView.Method Property

Gets or sets the view method for the list view.

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

[ClientCallableConstraintAttribute(FixedId = "validxml", Type = ClientCallableConstraintType.Custom, Value = "It MUST be null, or be a valid XML Document according to [XML] where the root XML element conforms to a Method Xml Fragment as specified in [MS-WSSCAP].")]
public string Method { get; set; }

Property Value

Type: System.String
The method for the view.